~emersion/dotfiles

1257aafd933c704f4ea38af48d5663532f84c3ae — Simon Ser 5 months ago 98707e1
sway: add missing exec keywords
1 files changed, 9 insertions(+), 7 deletions(-)

M .config/sway/config
M .config/sway/config => .config/sway/config +9 -7
@@ 5,7 5,8 @@ set $launcher dmenu_path | fzf | xargs swaymsg exec

set $wallpaper /home/simon/.background
set $wallpaper_lock /home/simon/.background-lock
set $lock swaylock -i `0x40`
#set $lock swaylock -i `0x40`
set $lock swaylock -i $wallpaper

set $bg #000000
set $bga #444444


@@ 128,8 129,8 @@ bindsym --locked XF86AudioStop exec playerctl stop
#bindsym --locked $mod+l exec "sleep 1; pkill -USR1 swayidle"
bindsym $mod+l exec "$lock -f; sleep 1; pkill -USR1 swayidle"
# screenshots
bindsym $mod+g exec grim $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim.png')
bindsym $mod+Shift+g slurp | grim -g - $(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim.png')
bindsym $mod+g exec grim
bindsym $mod+Shift+g exec slurp | grim -g -

bindsym $mod+n mode notifications
mode notifications {


@@ 142,10 143,10 @@ mode notifications {
bindsym $mod+r mode stewdio
mode stewdio {
	bindsym Escape mode default
	bindsym Space stewdio play
	bindsym s stewdio skip
	bindsym f stewdio fav
	bindsym q stewdio dmenu-queue
	bindsym Space exec stewdio play
	bindsym s exec stewdio skip
	bindsym f exec stewdio fav
	bindsym q exec stewdio dmenu-queue
}

mode passthrough {


@@ 178,6 179,7 @@ bar {
for_window [app_id="^launcher$"] floating enable, border none
for_window [app_id=mpv] sticky enable
for_window [floating] border csd
for_window [app_id="firefox" title="Picture-in-Picture"] floating enable, sticky enable, border none

input * {
	xkb_layout us