feat(i3lock): add background image

This commit is contained in:
mandlm 2022-07-10 21:00:33 +02:00
parent bde774e71d
commit c7cb38ad3c
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 12 additions and 5 deletions

View File

@ -10,11 +10,18 @@ in
./i3status-rust.nix ./i3status-rust.nix
]; ];
home.file.workspaces = { home.file = {
workspaces = {
source = ./workspaces; source = ./workspaces;
target = ".config/i3/workspaces"; target = ".config/i3/workspaces";
recursive = true; recursive = true;
}; };
wallpapers = {
source = ./wallpapers;
target = ".config/i3/wallpapers";
recursive = true;
};
};
xsession.windowManager.i3 = { xsession.windowManager.i3 = {
enable = true; enable = true;
@ -83,6 +90,6 @@ in
services.screen-locker = { services.screen-locker = {
enable = true; enable = true;
lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000"; lockCmd = "${pkgs.i3lock}/bin/i3lock --nofork --image ~/.config/i3/wallpapers/nix-wallpaper-dracula.png";
}; };
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB