fixup! 🚀 add script for changing wallpaper
This commit is contained in:
parent
469638fc67
commit
e3b2846aa0
2 changed files with 14 additions and 6 deletions
|
@ -43,7 +43,7 @@
|
||||||
};
|
};
|
||||||
startupPrograms = [
|
startupPrograms = [
|
||||||
"${pkgs.systemd}/bin/systemctl --user start polybar.service"
|
"${pkgs.systemd}/bin/systemctl --user start polybar.service"
|
||||||
"feh --bg-fill ~/.config/wallpaper/dracula.png"
|
"randomWallpaper"
|
||||||
"synology-drive"
|
"synology-drive"
|
||||||
];
|
];
|
||||||
extraConfig = builtins.readFile ./bspwmrc;
|
extraConfig = builtins.readFile ./bspwmrc;
|
||||||
|
@ -54,10 +54,6 @@
|
||||||
extraConfig = builtins.readFile ./sxhkdrc;
|
extraConfig = builtins.readFile ./sxhkdrc;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg = {
|
|
||||||
enable = true;
|
|
||||||
configFile = { "wallpaper/dracula.png" = { source = ./dracula.png; }; };
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [ feh playerctl pamixer brightnessctl ];
|
home.packages = with pkgs; [ feh playerctl pamixer brightnessctl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,19 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./apps ./bspwm ./polybar ./gtk.nix ];
|
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
|
# Remap capslock to esc and shift + capslock to capslock
|
||||||
services.xserver.xkbOptions =
|
services.xserver.xkbOptions =
|
||||||
"terminate:ctrl_alt_bksp,caps:escape_shifted_capslock";
|
"terminate:ctrl_alt_bksp,caps:escape_shifted_capslock";
|
||||||
|
|
Loading…
Reference in a new issue