feat(hyprland): start waybar using systemd.

This commit is contained in:
CronyAkatsuki 2025-12-02 18:11:49 +01:00
parent 15dc169d1d
commit f0c8579dad

View file

@ -150,7 +150,6 @@ in {
exec = [ exec = [
# Fix laptop monitor getting turned on while my external monitor connected # Fix laptop monitor getting turned on while my external monitor connected
"hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'" "hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'"
"pkill waybar; waybar" # Kill waybar and start new instance because everytime hyprland restarts breaks waybar
]; ];
cursor = { cursor = {
@ -168,6 +167,7 @@ in {
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"
"systemctl --user start hyprpaper" "systemctl --user start hyprpaper"
"systemctl --user start hypridle" "systemctl --user start hypridle"
"systemctl --user start waybar"
]; ];
monitor = [ monitor = [