fix(swaybg): fix swaybg service
This commit is contained in:
parent
a7d9aebdca
commit
d757d6b432
5 changed files with 36 additions and 36 deletions
|
@ -22,7 +22,7 @@
|
|||
programs = {
|
||||
swaybg = {
|
||||
enable = true;
|
||||
wallpaper = "${inputs.wallpkgs.packages.${pkgs.system}.nature}/share/wallpapers/nature/07.jpg";
|
||||
wallpaper = inputs.wallpkgs.wallpapers.nord-03.path;
|
||||
};
|
||||
libvirt.enable = true;
|
||||
direnv.enable = true;
|
||||
|
|
|
@ -16,38 +16,38 @@ $base0E: #b48ead;
|
|||
$base0F: #5e81ac;
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
font-size: 18px;
|
||||
color: $base06;
|
||||
all: unset;
|
||||
font-size: 15px;
|
||||
color: $base06;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: $base00;
|
||||
background: $base00;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: $base01;
|
||||
background: $base01;
|
||||
}
|
||||
|
||||
.modules-left,
|
||||
.modules-right {
|
||||
background: $base01;
|
||||
padding: 0px 12px;
|
||||
background: $base01;
|
||||
padding: 0px 8px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
background: $base01;
|
||||
background: $base01;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 8px 16px;
|
||||
transition: 0.2s;
|
||||
padding: 6px 12px;
|
||||
transition: 0.2s;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
padding: 8px 28px;
|
||||
padding: 6px 22px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: $base02;
|
||||
background: $base02;
|
||||
}
|
||||
|
|
|
@ -35,10 +35,8 @@ in {
|
|||
after = ["graphical-session-pre.target"];
|
||||
partOf = ["graphical-session.target"];
|
||||
|
||||
script = lib.getExe' cfg.package "swaybg";
|
||||
scriptArgs = "-i ${cfg.wallpaper} -m ${cfg.mode}";
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe' cfg.package "swaybg"} -i ${cfg.wallpaper} -m ${cfg.mode}";
|
||||
Restart = "always";
|
||||
RestartSec = "5";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue