mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
many updates, but mostly removed bitwarden-cli for rbw
This commit is contained in:
parent
a35db4097e
commit
1e41741ac9
@ -77,10 +77,6 @@ sudo make PREFIX=/usr install
|
||||
|
||||
Download a release [here](https://github.com/kdheepak/taskwarrior-tui) and move to /usr/bin.
|
||||
|
||||
## PWA for Bitwarden
|
||||
|
||||
The default Bitwarden application kind of sucks so I use a [PWA plugin](https://github.com/filips123/PWAsForFirefox). Follow instructions to install rpm and adjust ID in i3 config to launch correct PWA for Bitwarden.
|
||||
|
||||
## display manager (or lack thereof)
|
||||
|
||||
I disable gdm and login from tty
|
||||
|
11
home/bin/executable_rbw-get
Normal file
11
home/bin/executable_rbw-get
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# rbw-get <name of entry> <field of entry>
|
||||
# Ex: rbw-get google url
|
||||
|
||||
if [[ "$2" == "Password" ]]
|
||||
then
|
||||
rbw get "$1"
|
||||
else
|
||||
rbw get "$1" --full | grep "$2" | cut -d ' ' -f 2-
|
||||
fi
|
2
home/dot_config/chezmoi/chezmoi.toml
Normal file
2
home/dot_config/chezmoi/chezmoi.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[secret]
|
||||
command = "rbw-get"
|
5
home/dot_config/mimeapps.list
Normal file
5
home/dot_config/mimeapps.list
Normal file
@ -0,0 +1,5 @@
|
||||
[Default Applications]
|
||||
text/html=firefox.desktop;
|
||||
x-scheme-handler/http=firefox.desktop;
|
||||
x-scheme-handler/https=firefox.desktop;
|
||||
|
@ -19,6 +19,11 @@ return require('packer').startup(function(use)
|
||||
use ('mbbill/undotree')
|
||||
use ('kdheepak/lazygit.nvim')
|
||||
|
||||
use({ "iamcco/markdown-preview.nvim",
|
||||
run = "cd app && npm install",
|
||||
setup = function() vim.g.mkdp_filetypes = { "markdown" } end,
|
||||
ft = { "markdown" },
|
||||
})
|
||||
-- LSP
|
||||
use ('neovim/nvim-lspconfig')
|
||||
use ('hrsh7th/cmp-nvim-lsp')
|
||||
|
@ -15,6 +15,6 @@ fileext = ".ics"
|
||||
[storage personal_calendar_remote]
|
||||
type = "caldav"
|
||||
|
||||
url = "{{ (bitwardenFields "item" "98975280-32ee-4929-ae49-af7401888f67").url.value }}"
|
||||
username = "{{ (bitwarden "item" "98975280-32ee-4929-ae49-af7401888f67").login.username }}"
|
||||
password = "{{ (bitwarden "item" "98975280-32ee-4929-ae49-af7401888f67").login.password }}"
|
||||
url = "{{ (secret "Vdirsyncer - Calendar" "url") }}"
|
||||
username = "{{ (secret "Vdirsyncer - Calendar" "Username") }}"
|
||||
password = "{{ (secret "Vdirsyncer - Calendar" "Password") }}"
|
||||
|
@ -14,6 +14,6 @@ fileext = ".vcf"
|
||||
[storage personal_contacts_remote]
|
||||
type = "carddav"
|
||||
|
||||
url = "{{ (bitwardenFields "item" "17646363-f639-4c2f-8895-af75000653ab").url.value }}"
|
||||
username = "{{ (bitwarden "item" "17646363-f639-4c2f-8895-af75000653ab").login.username }}"
|
||||
password = "{{ (bitwarden "item" "17646363-f639-4c2f-8895-af75000653ab").login.password }}"
|
||||
url = "{{ (secret "Vdirsyncer - Contacts" "url") }}"
|
||||
username = "{{ (secret "Vdirsyncer - Contacts" "Username") }}"
|
||||
password = "{{ (secret "Vdirsyncer - Contacts" "Password") }}"
|
||||
|
27
home/dot_nbrc
Normal file
27
home/dot_nbrc
Normal file
@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
###############################################################################
|
||||
# .nbrc
|
||||
#
|
||||
# Configuration file for `nb`, a command line note-taking, bookmarking,
|
||||
# and knowledge base application with encryption, search, Git-backed syncing,
|
||||
# and more in a single portable script.
|
||||
#
|
||||
# Edit this file manually or manage settings using the `nb settings`
|
||||
# subcommand. Configuration options are set as environment variables, eg:
|
||||
# export NB_ENCRYPTION_TOOL=gpg
|
||||
#
|
||||
# https://github.com/xwmx/nb
|
||||
###############################################################################
|
||||
|
||||
export EDITOR="nvim" # Set by `nb` • Mon Dec 26 11:55:11 PM PST 2022
|
||||
export NB_INDICATOR_AUDIO=" "
|
||||
export NB_INDICATOR_BOOKMARK=" "
|
||||
export NB_INDICATOR_DOCUMENT=" "
|
||||
export NB_INDICATOR_EBOOK=" "
|
||||
export NB_INDICATOR_ENCRYPTED=" "
|
||||
export NB_INDICATOR_FOLDER=" "
|
||||
export NB_INDICATOR_IMAGE="盛"
|
||||
export NB_INDICATOR_PINNED="車"
|
||||
export NB_INDICATOR_TODO=" "
|
||||
export NB_INDICATOR_TODO_DONE=" "
|
||||
export NB_INDICATOR_VIDEO=" "
|
@ -124,6 +124,3 @@ alias te='trash-empty'
|
||||
alias tl='trash-list'
|
||||
alias tre='trash-restore'
|
||||
alias trm='trash-rm'
|
||||
|
||||
# bitwarden-cli
|
||||
alias bu='export BW_SESSION=$( bw unlock --raw )' # unlock and export bitwarden session
|
||||
|
@ -39,13 +39,6 @@
|
||||
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- name: Install bitwarden
|
||||
unarchive:
|
||||
src: "https://vault.bitwarden.com/download/?app=cli&platform=linux"
|
||||
dest: /home/{{ user }}/bin
|
||||
remote_src: true
|
||||
mode: 0755
|
||||
|
||||
- name: Install desktop python packages
|
||||
ansible.builtin.pip:
|
||||
|
@ -17,6 +17,7 @@
|
||||
- elogind
|
||||
- rsync
|
||||
- unzip
|
||||
- mimeo
|
||||
state: present
|
||||
become: true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user