feat: set nixos-artwork/backgrounds/dracula as wallpaper

master
Chan Wen Xu 2021-09-11 22:01:09 +07:00
parent 733cda2cf2
commit 5005a3ca07
2 changed files with 6 additions and 0 deletions

@ -7,6 +7,7 @@
gtk-application-prefer-dark-theme = 1; gtk-application-prefer-dark-theme = 1;
}; };
}; };
programs.feh.enable = true;
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font = { font = {

@ -2,6 +2,7 @@
let let
modifier = "Mod4"; modifier = "Mod4";
lockText = "(e)xit, (r)estart, (s)hutdown"; lockText = "(e)xit, (r)estart, (s)hutdown";
wallpaper = "${pkgs.nixos-artwork.wallpapers.dracula}/share/backgrounds/nixos/nix-wallpaper-dracula.png";
in in
{ {
fonts = { fonts = {
@ -9,6 +10,10 @@ in
size = 12.0; size = 12.0;
}; };
startup = [
{ command = "${pkgs.feh}/bin/feh --bg-scale ${wallpaper}"; notification = false; }
];
focus.mouseWarping = false; focus.mouseWarping = false;
modifier = modifier; modifier = modifier;
keybindings = lib.mkOptionDefault { keybindings = lib.mkOptionDefault {