diff --git a/.config/sway/config b/.config/sway/config index bc6caf3..982b1e4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -115,12 +115,12 @@ exec_always --no-startup-id dbus-update-activation-environment --systemd --all /usr/libexec/xdg-desktop-portal --replace pgrep -u $(id -u) mako && pkill mako - pgrep -u $(id -u) fusuma && pkill fusuma pgrep -u $(id -u) swayrd && pkill swayrd + # pgrep -u $(id -u) fusuma && pkill fusuma pgrep swayidle && pkill swayidle mako - XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml + # XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1 swayidle -w \ timeout 545 'pgrep swaylock || notify-send -t 18000 -u normal "Idle timeout" "Screen is locking soon"' \ @@ -143,7 +143,7 @@ exec --no-startup-id { /usr/libexec/xdg-desktop-portal --replace pgrep -u $(id -u) mako || mako # XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml - pgrep -u $(id -u) fusuma || XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml + # pgrep -u $(id -u) fusuma || XDG_CURRENT_DESKTOP=gnome fusuma -d -c ~/.config/fusuma/config-wl.yml env RUST_BACKTRACE=1 swayrd > /tmp/swayrd.log 2>&1 pgrep swayidle || \ swayidle -w \ @@ -154,6 +154,9 @@ exec --no-startup-id { before-sleep "pgrep swaylock || $lockt" } +bindgesture swipe:right workspace prev +bindgesture swipe:left workspace next + bindsym ctrl+alt+l exec --no-startup-id $lock bindsym $mod+grave exec $lock bindswitch --reload --locked lid:on exec --no-startup-id $(swaymsg output $laptop_screen disable && /usr/local/bin/kanshictl reload)