diff options
Diffstat (limited to '.config/sway/binds.conf')
| -rw-r--r-- | .config/sway/binds.conf | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index 700a727..cc1fd0c 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -173,10 +173,6 @@ mode "layout" { exec sh -c 'centercon -w 0.3 tr && swaymsg move left 10px && swaymsg move down 10px && swaymsg focus mode_toggle'; \ mode "default" - # make a centered container - bindsym c exec centercon 1.0; mode "default" - bindsym Shift+c exec centercon -w 0.5; mode "default" - # return to default mode bindsym Return mode "default" bindsym Escape mode "default" @@ -198,6 +194,10 @@ mode "resize" { bindsym Shift+$down resize shrink width $rate; resize shrink height $rate bindsym Shift+$up resize grow width $rate; resize grow height $rate + # make a centered container + bindsym c exec centercon 1.0; mode "default" + bindsym Shift+c exec centercon -w 0.5; mode "default" + # return to default mode bindsym Return mode "default" bindsym Escape mode "default" @@ -259,12 +259,11 @@ bindsym XF86AudioNext exec playerctl -p playerctld next bindsym XF86AudioPrev exec playerctl -p playerctld previous bindsym XF86WakeUp exec true -# switch video mode bindsym XF86Display exec kanshictl reload; output * dpms on -# config bindsym XF86Tools exec true -# keyboard -bindsym XF86Keyboard exec light -S 0 -# bookmarks -bindsym XF86Favorites exec light -S 100 +bindsym XF86Keyboard exec true +bindsym XF86Favorites exec s6-svc -r $HOME/.local/share/s6/wlsunset + +# macro01 +bindcode 0x290 exec notify-send "macro" "1" # }}} |