1
0
Fork 0

disable qt csd, wait 30 minute before locking

This commit is contained in:
Massaki Archambault 2019-04-13 14:28:44 -04:00
parent 435e18e449
commit 261c686d3d
2 changed files with 6 additions and 2 deletions

View File

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

View File

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