Added vertical wallpaper

This commit is contained in:
Alejandro Angulo 2023-09-13 20:48:09 -07:00
parent 4086e72eda
commit 1a10b475ee
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 10 additions and 0 deletions

View file

@ -32,6 +32,14 @@ in {
Path to wallpaper, relative to config.home-home-manager.users.<username>.xdg.dataHome
'';
};
verticalWallpaperPath = mkOption {
type = str;
default = "sway/skull.png";
description = ''
Path to vertical wallpaper, relative to config.home-home-manager.users.<username>.xdg.dataHome
'';
};
};
config = mkIf cfg.enable {
@ -70,6 +78,7 @@ in {
aa.home.dataFile = {
${cfg.wallpaperPath}.source = ./wallpaper.jpg;
${cfg.verticalWallpaperPath}.source = ./vertical.png;
};
aa.home.extraOptions = {
wayland.windowManager.sway = {
@ -137,6 +146,7 @@ in {
"Dell Inc. DELL S2721QS 47W7M43" = {
transform = "270";
position = "1920 0";
bg = "${user_cfg.xdg.dataHome}/${cfg.verticalWallpaperPath} fill";
};
"Dell Inc. DELL S2721QS 4FR7M43".position = "4080 830";
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB