From 51abd3b75cf325ee54b87fbe2bf5e3cf59169455 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 1 Sep 2021 18:22:22 +0200 Subject: Switch to bitwarden --- i3/.config/i3/config | 2 +- 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 -- cgit v1.2.3