home,sway: use built-in functionality for wallpaper

This commit is contained in:
Guanran Wang 2023-11-05 14:34:27 +08:00
parent 7e74199ea3
commit a5e6e42ee9
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 5 additions and 2 deletions

View file

@ -25,7 +25,6 @@
grim grim
slurp slurp
swappy swappy
swww
mpvpaper mpvpaper
libnotify libnotify
jq jq

View file

@ -35,6 +35,11 @@
outer = 4; outer = 4;
#smartGaps = true; #smartGaps = true;
}; };
output = {
eDP-1 = {
bg = "~/.local/share/backgrounds/wallpaper1.png fill";
};
};
### Inputs ### Inputs
input = { input = {
@ -51,7 +56,6 @@
### Autostarts ### Autostarts
startup = [ startup = [
{command = "${pkgs.swww}/bin/swww init";}
{command = "${pkgs.waybar}/bin/waybar";} {command = "${pkgs.waybar}/bin/waybar";}
{command = "${pkgs.wl-clipboard}/bin/wl-paste --watch cliphist store";} {command = "${pkgs.wl-clipboard}/bin/wl-paste --watch cliphist store";}
]; ];