diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-04 21:24:00 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-04 21:24:00 -0700 |
commit | 63c3a0e29310ef38c6241161c141577b33896e9b (patch) | |
tree | 281979c25b335e7d89b9ebb836ad434ee0109809 /.config | |
parent | 496ee3bfe35a2f5f8f112c9400a36ff71eb2151d (diff) | |
download | dotfiles-63c3a0e29310ef38c6241161c141577b33896e9b.tar.gz |
use wofi with sway
Diffstat (limited to '.config')
-rw-r--r-- | .config/sway/config | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/.config/sway/config b/.config/sway/config index 3c1a0c85..2ace6642 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -50,23 +50,14 @@ mode "C-i-" { # kill focused window bindsym k kill, mode "default" - # TODO sway sample config says to pipe dmenu into xargs swaymsg exec -- + # sway sample config says to pipe dmenu into `xargs swaymsg exec --` + # but doesn't seem necessary with wofi - # start dmenu (a program launcher) - bindsym Shift+p exec dmenu_run \ - -nf '#000000' -nb '#FFFFF6' -sb '#B4EEB4' -sf '#000000', \ - mode "default" + bindsym p exec wofi --show=drun -i, mode "default" - # There also is the (new) i3-dmenu-desktop which only displays applications - # shipping a .desktop file. It is a wrapper around dmenu, so you need that - # installed. - bindsym p exec i3-dmenu-desktop \ - --dmenu="dmenu -i -nf '#000000' -nb '#FFFFF6' -sb '#B4EEB4' -sf '#000000'", \ - mode "default" + bindsym Shift+p exec wofi --show=run -i, mode "default" - bindsym s exec dmenu_ssh \ - -nf '#000000' -nb '#FFFFF6' -sb '#B4EEB4' -sf '#000000', \ - mode "default" + bindsym s exec ~/src/dotfiles/scripts/desktop/wofi_ssh, mode "default" # split in horizontal orientation bindsym h split h, mode "default" |