mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Setup hyprpolkitagent separately with dark mode applied
This commit is contained in:
@ -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
|
||||
|
||||
|
8
install/hyprpolkitagent.sh
Normal file
8
install/hyprpolkitagent.sh
Normal file
@ -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 <<EOF
|
||||
[Service]
|
||||
Environment=GTK_THEME=Adwaita-dark
|
||||
EOF
|
7
migrations/1752081300.sh
Normal file
7
migrations/1752081300.sh
Normal file
@ -0,0 +1,7 @@
|
||||
echo "Switching system authentication prompt to dark mode"
|
||||
source ~/.local/share/omarchy/install/hyprpolkitagent.sh
|
||||
|
||||
# Reload user systemd and restart service
|
||||
systemctl --user daemon-reexec
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user restart hyprpolkitagent
|
Reference in New Issue
Block a user