hyprland: fix waybar by running it with exec-once

This commit is contained in:
2025-07-12 15:51:43 +02:00
parent 6c32ffbe94
commit b4d1681b99
2 changed files with 5 additions and 2 deletions

View File

@ -162,7 +162,10 @@ in {
monitor = ",preferred,auto,1";
# Autostart
exec-once = ["firefox"];
exec-once = [
(lib.getExe pkgs.firefox)
(lib.getExe pkgs.waybar)
];
# Look and Feel
general = {

View File

@ -10,7 +10,7 @@
in {
programs.waybar = {
enable = true;
systemd.enable = true;
# systemd.enable = true;
settings.mainBar = builtins.fromJSON (builtins.readFile ./config.json);
};