disable qt csd, wait 30 minute before locking
This commit is contained in:
parent
435e18e449
commit
261c686d3d
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue