fix: theme application hängt nicht mehr auf frischer Installation
apply_theme() rief hyprctl (keyword + hyprpaper) und restart_waybar ohne zu prüfen ob Hyprland läuft → hyprctl hing bis Timeout im TTY. Fix: pgrep -x Hyprland guard vor allen hyprctl/waybar-Aufrufen. apply_theme schreibt jetzt Config-Files (gelten beim nächsten Login), überspringt aber Display-abhängige Kommandos.
This commit is contained in:
@@ -8,10 +8,7 @@ module_required() { return 1; }
|
||||
module_should_skip() { return 1; }
|
||||
|
||||
module_prereqs() {
|
||||
if ! have hyprctl && ! have notify-send; then
|
||||
log_warn "Neither hyprctl nor notify-send found. Theme can still be applied later."
|
||||
return 0
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
module_main() {
|
||||
|
||||
Reference in New Issue
Block a user