sway: fusuma has to be lied to about wayland

fusuma  recently has troubles running under wayland (sway), therefore the
temporary solution is to lie to it and pretend we're X11 Gnome session.

Fusuma: 2.1.0
ruby 2.6.6p146
libinput: 1.19.2
sway version 1.6.1
Linux 5.15.2-xm1.0e20211105.fc35.x86_64
OS: Fedora Linux 35 (Workstation Edition)
This commit is contained in:
surtur 2021-11-16 00:00:41 +01:00
parent 016eb0e50c
commit 87a3840cba
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -54,7 +54,7 @@ exec_always --no-startup-id
gsettings set org.gnome.desktop.wm.preferences button-layout 'icon:close'
gsettings set org.gnome.desktop.wm.preferences theme '$theme'
# TODO add ~/.asdf/shims to PATH
pkill fusuma; ~/.asdf/shims/fusuma -d -c ~/.config/fusuma/config-wl.yml
pkill fusuma; XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome ~/.asdf/shims/fusuma -d -c ~/.config/fusuma/config-wl.yml
pkill autotiling; autotiling
pkill batsignal; batsignal '-d -w 25 -c 15 -d 10'
pkill swayidle; swayidle -w timeout 3600 "$lock" \
@ -70,7 +70,7 @@ exec --no-startup-id {
$keyring
mako
# TODO add ~/.asdf/shims to PATH
~/.asdf/shims/fusuma -d -c ~/.config/fusuma/config-wl.yml
XDG_SESSION_TYPE=x11 XDG_CURRENT_DESKTOP=gnome ~/.asdf/shims/fusuma -d -c ~/.config/fusuma/config-wl.yml
autotiling
batsignal '-d -w 25 -c 15 -d 10'
swayidle -w timeout 3600 "$lock" \