diff --git a/files/.config/systemd/user/swayidle.service b/files/.config/systemd/user/swayidle.service index a79251d..e7799c7 100644 --- a/files/.config/systemd/user/swayidle.service +++ b/files/.config/systemd/user/swayidle.service @@ -6,9 +6,9 @@ PartOf=graphical-session.target [Service] Type=simple ExecStart=/usr/bin/swayidle -w \ - timeout 300 'lock' \ - timeout 600 'swaymsg "output * dpms off"' \ + timeout 1800 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ + timeout 1810 'lock' \ before-sleep 'lock' [Install] diff --git a/files/bin/sway b/files/bin/sway index 025eff0..ce4a63e 100755 --- a/files/bin/sway +++ b/files/bin/sway @@ -13,6 +13,10 @@ import-gsettings() { export XDG_SESSION_TYPE=wayland +# Qt +export QT_QPA_PLATFORM=wayland +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + # GTK export CLUTTER_BACKEND=wayland export GTK_CSD=0