1
0
Fork 0

sway: Add binding for “passmenu”

Add a binding to sway for launching a custom “passmenu” script.
This commit is contained in:
coderkun 2020-07-04 15:22:52 +02:00
parent decd1e6916
commit 9256ff7a23

View file

@ -5,7 +5,7 @@ set $down 45
set $up 46 set $up 46
set $right 47 set $right 47
set $term alacritty set $term alacritty
set $menu j4-dmenu-desktop --dmenu="bemenu -i -l 10 --fn \"Dejavu Sans Mono\" 10" --no-generic --term=alacritty --usage-log="$HOME/.cache/j4-dmenu-desktop.log" set $menu j4-dmenu-desktop --dmenu="bemenu -i -l 10 -m all -p \"Application:\" --tf \#285577 --hf \#285577 --fn \"Dejavu Sans Mono\" 10" --no-generic --term=alacritty --usage-log="$HOME/.cache/j4-dmenu-desktop.log"
### Font ### Font
font pango:DejaVu Sans Mono 9 font pango:DejaVu Sans Mono 9
@ -103,6 +103,9 @@ bindsym $mod+minus scratchpad show
bindsym Ctrl+space exec makoctl dismiss bindsym Ctrl+space exec makoctl dismiss
bindsym Ctrl+Shift+space exec makoctl dismiss --all bindsym Ctrl+Shift+space exec makoctl dismiss --all
# Passmenu
bindcode $mod+55 exec ~/.local/bin/passmenu -i -l 10 -m all -p "Password:" --fn "Dejavu Sans Mono" 10
# Resizing containers # Resizing containers
mode "resize" { mode "resize" {
bindcode $left resize shrink width 80px bindcode $left resize shrink width 80px