summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-09-01 18:22:22 +0200
committerJulian T <julian@jtle.dk>2021-09-01 18:22:22 +0200
commit51abd3b75cf325ee54b87fbe2bf5e3cf59169455 (patch)
treef95e13cb910cb635352761b011207526acb50611
parentf4ca1bb6da8dd33d58f0af73cf058bf537f78751 (diff)
Switch to bitwarden
-rw-r--r--i3/.config/i3/config2
-rwxr-xr-xscripts/Scripts/lc6
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