From 1df37bd3d7098d7c47ebc7b1f0456c480bf4170d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 9 Jul 2025 10:29:39 -0700 Subject: [PATCH] Setup hyprpolkitagent separately with dark mode applied --- install/hyprlandia.sh | 5 +++-- install/hyprpolkitagent.sh | 8 ++++++++ migrations/1752081300.sh | 7 +++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 install/hyprpolkitagent.sh create mode 100644 migrations/1752081300.sh diff --git a/install/hyprlandia.sh b/install/hyprlandia.sh index 4e9b9af..2bbfc22 100644 --- a/install/hyprlandia.sh +++ b/install/hyprlandia.sh @@ -1,7 +1,8 @@ yay -S --noconfirm --needed \ - hyprland hyprshot hyprpicker hyprlock hypridle hyprpolkitagent hyprland-qtutils \ + hyprland hyprshot hyprpicker hyprlock hypridle hyprland-qtutils \ wofi waybar mako swaybg \ xdg-desktop-portal-hyprland xdg-desktop-portal-gtk # Start Hyprland on first session -echo "[[ -z \$DISPLAY && \$(tty) == /dev/tty1 ]] && exec Hyprland" >~/.bash_profile \ No newline at end of file +echo "[[ -z \$DISPLAY && \$(tty) == /dev/tty1 ]] && exec Hyprland" >~/.bash_profile + diff --git a/install/hyprpolkitagent.sh b/install/hyprpolkitagent.sh new file mode 100644 index 0000000..dd98fde --- /dev/null +++ b/install/hyprpolkitagent.sh @@ -0,0 +1,8 @@ +yay -S --noconfirm --needed hyprpolkitagent + +# Ensure hyprpolkitagent is running in dark mode +mkdir -p ~/.config/systemd/user/hyprpolkitagent.service.d +cat >~/.config/systemd/user/hyprpolkitagent.service.d/override.conf <