Browse Source

Fix Wayland support for apps running under systemd

master
Arti Zirk 4 weeks ago
parent
commit
3761124be7
  1. 1
      .config/environment.d/99-xcursor_size.conf
  2. 1
      .config/sway/autostart
  3. 3
      .config/sway/config

1
.config/environment.d/99-xcursor_size.conf

@ -0,0 +1 @@ @@ -0,0 +1 @@
XCURSOR_SIZE=24

1
.config/sway/autostart

@ -10,6 +10,7 @@ for_window [app_id="quasselclient"] move to workspace $chat_workspace @@ -10,6 +10,7 @@ for_window [app_id="quasselclient"] move to workspace $chat_workspace
exec systemd-run --user --unit=quasselclient /usr/bin/quasselclient
for_window [class="Element"] move to workspace $chat_workspace
for_window [app_id="Element"] move to workspace $chat_workspace
exec systemd-run --user --unit=element-desktop /usr/bin/element-desktop
for_window [class="Slack"] move to workspace $chat_workspace

3
.config/sway/config

@ -366,4 +366,7 @@ input 1133:16534:Logitech_ERGO_M575 { @@ -366,4 +366,7 @@ input 1133:16534:Logitech_ERGO_M575 {
include /etc/sway/config.d/*
exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
exec systemctl --user set-environment DESKTOP_SESSION=sway
exec systemctl --user set-environment XDG_SESSION_DESKTOP=sway
exec systemctl --user set-environment XDG_SESSION_TYPE=wayland
include autostart

Loading…
Cancel
Save