Files
fluffy-pancake/configs/skel/.config/labwc/autostart
T
2026-09-27 18:48:10 +02:00

29 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# labwc-Autostart – fluffy-pancake (Noctalia-Zweig)
# Tastatur/Locale stehen in ~/.config/labwc/environment.
# 1. Output-Profile (gedockt/ungedockt). Schreibt die kanshi-Config nur,
# wenn sie fehlt oder von kanshi-autoconfig verwaltet wird.
# Eigene Hand-Edits bleiben unangetastet.
kanshi-autoconfig --apply-if-managed >/dev/null 2>&1 || true
kanshi >/dev/null 2>&1 &
# 2. Hintergrund-Fallback (Noctalia setzt das Wallpaper selbst)
swaybg -c '#1a1b26' >/dev/null 2>&1 &
# 3. PolicyKit: kein externer Agent noetig - Noctalia bringt einen nativen
# mit (per Default aktiv, siehe ~/.config/noctalia/shell.toml ->
# [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
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 &