sway: disable fusuma in favour of the native thing

This commit is contained in:
surtur 2024-04-02 18:08:16 +02:00
parent 0f06271159
commit 74d15549f4
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -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)