summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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