diff options
author | Julian T <julian@jtle.dk> | 2021-09-01 18:22:22 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-09-01 18:22:22 +0200 |
commit | 51abd3b75cf325ee54b87fbe2bf5e3cf59169455 (patch) | |
tree | f95e13cb910cb635352761b011207526acb50611 | |
parent | f4ca1bb6da8dd33d58f0af73cf058bf537f78751 (diff) |
Switch to bitwarden
-rw-r--r-- | i3/.config/i3/config | 2 | ||||
-rwxr-xr-x | scripts/Scripts/lc | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 76f27bd..fcab76a 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -181,7 +181,7 @@ bindsym $mod+semicolon exec --no-startup-id Scripts/lc --dmenu bindsym $mod+o exec --no-startup-id Scripts/lc goto # Password manager -bindsym $mod+p exec --no-startup-id Scripts/lc pass +bindsym $mod+p exec --no-startup-id Scripts/lc bwpass # default app workspaces assign [class="firefox"] $ws9 diff --git a/scripts/Scripts/lc b/scripts/Scripts/lc index 98b6ee2..6786a9a 100755 --- a/scripts/Scripts/lc +++ b/scripts/Scripts/lc @@ -3,7 +3,7 @@ LOGFILE=.lc.log DMENU="rofi -dmenu" -Commands="s suspend screen goto common pass remember set-keyboard poweroff lock scrot region overleaf-render caps-lock win wall cups pass sync random" +Commands="s suspend screen goto common bwpass remember set-keyboard poweroff lock scrot region overleaf-render caps-lock win wall cups pass sync random" handle_stuff() { if [ "$1" = "--dmenu" ]; then @@ -77,6 +77,10 @@ handle_stuff() { bash $HOME/Scripts/passmenu --type fi + if [ "$1" = "bwpass" ]; then + bash $HOME/Scripts/bwmenu --type + fi + if [ "$1" = "common" ]; then python3 Scripts/commondocs.py ~/commondocs.json $(python3 Scripts/commondocs.py ~/commondocs.json | $DMENU) fi |