Cleaned up Sway, fixed Wofi issue and programs open on focused workspace

This commit is contained in:
Logan G 2021-12-06 13:02:42 -07:00
parent f3b3a3641d
commit dc59af46e6
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -54,7 +54,7 @@ bindsym $mod+Shift+q kill
#bindsym $mod+d exec dmenu_run
#bindsym $mod+d exec jgmenu_run
#bindsym $mod+d exec source ~/.bashrc && j4-dmenu-desktop --dmenu="dmenu -i -nb '#2c2e33' -nf '#cccccc' -sf '#ffffff' -sb '#4285f4'" --term="i3-sensible-terminal"
bindsym $mod+d exec source ~/.bashrc && wofi --show drun --allow-images -G -i
bindsym $mod+d exec source ~/.bashrc && wofi --show drun --allow-images -G -i --define=drun-print_command=true | sed -n -e 's/\(.*\) %.*/\1/p' | xargs swaymsg exec --
# 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
@ -220,10 +220,10 @@ bindsym XF86AudioPrev exec playerctl previous
#bindsym Print exec flameshot gui -p ~/Pictures/Screenshots
#bindsym Shift+Print exec flameshot full -p ~/Pictures/Screenshots
#bindsym Ctrl+Shift+Print exec flameshot full -c
bindsym Print exec grim -g "$(slurp)" - | swappy -f -
bindsym Print exec grim -g "$(slurp)" - | swappy -f -
# Dunst
bindsym $mod+Mod1+Space dunstctl close
bindsym $mod+Mod1+Space dunstctl close
bindsym $mod+Mod1+Shift dunstctl close-all
bindsym $mod+Mod1+Tab dunstctl history-pop
bindsym $mod+Mod1+Period dunstctl context