feat(i3lock): add background image
This commit is contained in:
parent
bde774e71d
commit
c7cb38ad3c
@ -10,10 +10,17 @@ in
|
|||||||
./i3status-rust.nix
|
./i3status-rust.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.workspaces = {
|
home.file = {
|
||||||
source = ./workspaces;
|
workspaces = {
|
||||||
target = ".config/i3/workspaces";
|
source = ./workspaces;
|
||||||
recursive = true;
|
target = ".config/i3/workspaces";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
wallpapers = {
|
||||||
|
source = ./wallpapers;
|
||||||
|
target = ".config/i3/wallpapers";
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xsession.windowManager.i3 = {
|
xsession.windowManager.i3 = {
|
||||||
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
BIN
home-manager/i3/wallpapers/nix-wallpaper-dracula.png
Normal file
BIN
home-manager/i3/wallpapers/nix-wallpaper-dracula.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user