aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-09-22 22:37:51 +0200
committerlonkaars <loek@pipeframe.xyz>2023-09-22 22:37:51 +0200
commitd42fdc004ce07d228edfc9607d4d0b23bb3bc99c (patch)
tree6fa79ec3a6137de9b4660c82c81b225de6dcf216
parentb50cfe5b45b56fd76f41d196a53b929157044f43 (diff)
minor updates
-rwxr-xr-x.config/i3/autostart##template9
-rw-r--r--.config/nvim/init.vim3
-rw-r--r--.profile1
3 files changed, 6 insertions, 7 deletions
diff --git a/.config/i3/autostart##template b/.config/i3/autostart##template
index 0e0cff4..c7ef3b6 100755
--- a/.config/i3/autostart##template
+++ b/.config/i3/autostart##template
@@ -19,11 +19,12 @@ nicotine &
{% endif %}
flashfocus &
-# bw unlock <password> --raw | keyctl padd user bw_session @u
-# sh $HOME/.config/i3/unlock_bitwarden &
-[ -f "$XDG_CONFIG_HOME/i3/unlock_bitwarden" ] && "$XDG_CONFIG_HOME/i3/unlock_bitwarden" &
+# store bitwarden session token using keyctl
+{
+ keyctl purge user bw_session
+ bw unlock --passwordenv BITWARDEN_MASTER_PASSWORD --raw | keyctl padd user bw_session @u
+} &
# auto start lazy script after everything else
-sleep 2
[ -f "$HOME/do.sh" ] && . "$HOME/do.sh"
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 63b9285..767275d 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -182,9 +182,6 @@ let g:which_key_map.y = 'x11-yank'
map <leader>* y/<C-R>0<CR>
let g:which_key_map['*'] = 'search-selected'
-map <leader>h :noh<cr>
-let g:which_key_map.h = 'no-highlighting'
-
map <leader>f :FZF<cr>
let g:which_key_map.f = 'fzf'
diff --git a/.profile b/.profile
index 93ec840..d148ae7 100644
--- a/.profile
+++ b/.profile
@@ -13,6 +13,7 @@ alias vim="nvim"
alias copy="xclip -selection c"
alias dnd="dragon-drag-and-drop -a -x"
alias mk="make"
+alias sl="sl -w"
# one letters
alias r="ranger"