feat(i3lock): add background image
This commit is contained in:
parent
bde774e71d
commit
c7cb38ad3c
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
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