Start waybar from systemd

This commit is contained in:
Erwin Boskma 2022-05-30 16:21:13 +02:00
parent 93f98a6b6c
commit ed3e3fe949
Signed by: erwin
GPG key ID: 270B20D17394F7E5
2 changed files with 3 additions and 5 deletions

View file

@ -24,11 +24,7 @@ in
"2" = [{ app_id = "Alacritty"; } { app_id = "foot"; }]; "2" = [{ app_id = "Alacritty"; } { app_id = "foot"; }];
"3" = [{ class = "Code"; }]; "3" = [{ class = "Code"; }];
}; };
bars = [ bars = [ ];
{
command = "${pkgs.waybar}/bin/waybar";
}
];
# Dracula theme # Dracula theme
colors = { colors = {

View file

@ -20,6 +20,8 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
systemd.enable = true;
settings = [ settings = [
{ {
layer = "top"; layer = "top";