idle angepasst
This commit is contained in:
@@ -21,14 +21,6 @@ swaybg -c '#1a1b26' >/dev/null 2>&1 &
|
||||
# [shell] polkit_agent). Genau EIN Agent pro Session!
|
||||
# (Historie: lxqt-policykit-agent unter /usr/libexec/ - ausgebaut.)
|
||||
|
||||
# 4. Desktop-Shell: Bar, Dock, Launcher, Control-Center, Lock, OSDs
|
||||
# 4. Desktop-Shell: Bar, Dock, Launcher, Control-Center, Lock, OSDs,
|
||||
# Idle-Handling (nativ: Lock/Screen-off, siehe noctalia idle.toml)
|
||||
noctalia >/dev/null 2>&1 &
|
||||
|
||||
# 5. Idle-Handling: nach 5 Min sperren (Noctalia-Lockscreen),
|
||||
# nach 10 Min Displays stromsparend dunkel schalten (wlopm, damit
|
||||
# Fensterlayouts erhalten bleiben – KEIN output --off).
|
||||
swayidle -w \
|
||||
timeout 300 'noctalia msg session lock' \
|
||||
timeout 600 'wlopm --off *' \
|
||||
resume 'wlopm --on *' \
|
||||
before-sleep 'noctalia msg session lock' >/dev/null 2>&1 &
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Idle-Verantwortung liegt bei Noctalia (nativ): Fade-Overlay, Lock nach
|
||||
# 5 Minuten, Screen-off mit Auto-Resume nach 10 Minuten. swayidle ist
|
||||
# ausgebaut (kein Paket, keine Autostart-Zeile mehr).
|
||||
# Suspend-Behavior bleibt aus (kein Idle-Suspend gewuenscht);
|
||||
# Lock-vor-Suspend greift ueber den Lockscreen-Default.
|
||||
# GUI-Aenderung landet in settings.toml und gewinnt ueber dieser Datei.
|
||||
[idle.behavior.lock]
|
||||
enabled = true
|
||||
timeout = 300
|
||||
action = "lock"
|
||||
|
||||
[idle.behavior.screen-off]
|
||||
enabled = true
|
||||
timeout = 600
|
||||
action = "screen_off"
|
||||
|
||||
[idle.behavior.suspend]
|
||||
enabled = false
|
||||
Reference in New Issue
Block a user