(laptop) Gen 18: added separate hyprland config logic to differentiate between laptop and desktop environments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ username, ... }:
|
||||
{ host, username, ... }:
|
||||
|
||||
{
|
||||
services.hyprpaper = {
|
||||
@@ -9,9 +9,11 @@
|
||||
splash_offset = 2.0;
|
||||
preload = [ "/home/${username}/Pictures/Wallpapers/cat-leaves.png" ];
|
||||
|
||||
wallpaper = [
|
||||
wallpaper = if (host == "desktop") then [
|
||||
"DP-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
"HDMI-A-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
] else [
|
||||
"eDP-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user