mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Use swaybg instead of wpaperd
This commit is contained in:
parent
ab32a26f03
commit
ba19209ed9
4 changed files with 7 additions and 13 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -37,4 +37,5 @@
|
||||||
!*.mp3
|
!*.mp3
|
||||||
!*.nix
|
!*.nix
|
||||||
!*.nu
|
!*.nu
|
||||||
|
!*.png
|
||||||
!*.sh
|
!*.sh
|
||||||
|
|
|
@ -129,10 +129,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = themes.custom (themes.raw.gruvbox-dark-hard // {
|
theme = themes.custom (themes.raw.gruvbox-dark-hard // {
|
||||||
corner-radius = 8;
|
corner-radius = 0;
|
||||||
border-width = 3;
|
border-width = 1;
|
||||||
|
|
||||||
margin = 6;
|
margin = 0;
|
||||||
padding = 8;
|
padding = 8;
|
||||||
|
|
||||||
font.size.normal = 12;
|
font.size.normal = 12;
|
||||||
|
|
|
@ -20,11 +20,11 @@
|
||||||
''
|
''
|
||||||
+
|
+
|
||||||
''
|
''
|
||||||
exec-once = wpaperd
|
|
||||||
|
|
||||||
exec-once = wl-paste --type text --watch cliphist store
|
exec-once = wl-paste --type text --watch cliphist store
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
exec-once = wl-paste --type image --watch cliphist store
|
||||||
|
|
||||||
|
exec = swaybg --image ${./wallpaper.png}
|
||||||
|
|
||||||
exec = pkill --signal SIGUSR2 waybar
|
exec = pkill --signal SIGUSR2 waybar
|
||||||
''
|
''
|
||||||
+
|
+
|
||||||
|
@ -211,14 +211,6 @@
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.wpaperd = enabled {
|
|
||||||
settings.default = {
|
|
||||||
duration = "10m";
|
|
||||||
path = "/home/nixos/Pictures/Wallpapers";
|
|
||||||
sorting = "ascending";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
})
|
})
|
||||||
|
|
||||||
(with pkgs; homePackages "nixos" [
|
(with pkgs; homePackages "nixos" [
|
||||||
|
@ -227,6 +219,7 @@
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
swappy
|
swappy
|
||||||
|
swaybg
|
||||||
upkgs.hyprpicker
|
upkgs.hyprpicker
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
|
BIN
machines/enka/hyprland/wallpaper.png
Normal file
BIN
machines/enka/hyprland/wallpaper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Add table
Add a link
Reference in a new issue