Start waybar from systemd
This commit is contained in:
parent
93f98a6b6c
commit
ed3e3fe949
2 changed files with 3 additions and 5 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue