fixup! 🚀 add script for changing wallpaper

nixos
Moritz Böhme 2022-02-07 14:24:24 +01:00
parent 469638fc67
commit e3b2846aa0
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
2 changed files with 14 additions and 6 deletions

View File

@ -43,7 +43,7 @@
};
startupPrograms = [
"${pkgs.systemd}/bin/systemctl --user start polybar.service"
"feh --bg-fill ~/.config/wallpaper/dracula.png"
"randomWallpaper"
"synology-drive"
];
extraConfig = builtins.readFile ./bspwmrc;
@ -54,10 +54,6 @@
extraConfig = builtins.readFile ./sxhkdrc;
};
xdg = {
enable = true;
configFile = { "wallpaper/dracula.png" = { source = ./dracula.png; }; };
};
home.packages = with pkgs; [ feh playerctl pamixer brightnessctl ];
};
}

View File

@ -2,7 +2,19 @@
{
imports = [ ./apps ./bspwm ./polybar ./gtk.nix ];
home-manager.users.moritz = { services.unclutter.enable = true; };
home-manager.users.moritz = {
services.unclutter.enable = true;
xdg = {
enable = true;
configFile = {
"wallpapers/" = {
source = ./wallpapers;
recursive = true;
};
};
};
};
# Remap capslock to esc and shift + capslock to capslock
services.xserver.xkbOptions =
"terminate:ctrl_alt_bksp,caps:escape_shifted_capslock";