Start waybar from hyprland

This commit is contained in:
Filippo Berto 2025-10-04 18:07:56 +02:00
parent 700e362ae1
commit 4843413986
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC
2 changed files with 1 additions and 5 deletions

View file

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

View file

@ -18,11 +18,6 @@ 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;