Revert "Start waybar from hyprland"

This reverts commit 4843413986.
This commit is contained in:
Filippo Berto 2025-10-06 11:35:58 +02:00
parent ec4fc34a8e
commit 35cc35cdb4
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC
2 changed files with 5 additions and 1 deletions

View file

@ -109,7 +109,6 @@ in
]; ];
exec-once = [ exec-once = [
"waybar"
# "hyprpaper" # "hyprpaper"
# "swww init" # "swww init"
]; ];

View file

@ -18,6 +18,11 @@ let
swaync-client = "${pkgs.swaynotificationcenter}/bin/swaync-client"; swaync-client = "${pkgs.swaynotificationcenter}/bin/swaync-client";
in in
{ {
systemd.user.services.waybar = {
Unit.PartOf = [ "tray.target" ];
Install.WantedBy = [ "tray.target" ];
Service = { Restart = "on-failure"; RestartSec = "3s"; };
};
home.packages = [ pkgs.swaynotificationcenter ]; home.packages = [ pkgs.swaynotificationcenter ];
programs.waybar = { programs.waybar = {
enable = true; enable = true;