Set wallpaper per user

This commit is contained in:
SebastianStork 2024-03-25 20:02:48 +01:00
parent af1fe2e180
commit 7499e9dc5e
4 changed files with 10 additions and 4 deletions

View file

@ -9,10 +9,15 @@
in {
imports = [./qtile];
options.myConfig.dm.tray = {
options.myConfig.dm = {
wallpaper = lib.mkOption {
type = lib.types.path;
};
tray = {
syncthing.enable = lib.mkEnableOption "";
networkmanager.enable = lib.mkEnableOption "";
};
};
config = lib.mkMerge [
(lib.mkIf cfg.tray.syncthing.enable {

View file

@ -16,7 +16,7 @@
];
home.file.".config/qtile/config.py".source = ./qtile.py;
home.file.".background-image".source = ./background-image;
home.file.".background-image".source = config.myConfig.dm.wallpaper;
home.packages = [
# Widget dependencies

View file

@ -2,6 +2,7 @@
myConfig = {
dm = {
qtile.enable = true;
wallpaper = ./wallpaper;
tray.syncthing.enable = true;
};
vscode.enable = true;

View file

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Before After
Before After