From 74d15549f44b4c0818aafa3f6dde3c9634d244d1 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 2 Apr 2024 18:08:16 +0200 Subject: [PATCH] sway: disable fusuma in favour of the native thing --- .config/sway/config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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)