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"; }];
"3" = [{ class = "Code"; }];
};
bars = [
{
command = "${pkgs.waybar}/bin/waybar";
}
];
bars = [ ];
# Dracula theme
colors = {

View file

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