hyprland tweaks

This commit is contained in:
Miguel Palhas
2024-11-29 22:24:43 +00:00
parent 4f3d23c950
commit 5d4f0ea959
3 changed files with 31 additions and 21 deletions
+19 -17
View File
@@ -2,29 +2,31 @@
inputs,
pkgs,
config,
...
}:
let
wallpaper1 = pkgs.fetchurl {
url = "https://i.redd.it/mvev8aelh7zc1.png";
hash = "sha256-lJjIq+3140a5OkNy/FAEOCoCcvQqOi73GWJGwR2zT9w";
url = "https://4kwallpapers.com/images/wallpapers/abstract-design-3840x2160-17068.jpg";
hash = "sha256-F/XE/ETwzYwtbQWXY78c2AJc8xe2mRunB8Q9/c2F7kY=";
};
in
{
# wayland.windowManager.hyprland.settings = {
# monitor = [
# "DP-1, preferred, 0x0, auto, bitdepth, 8"
# "HDMI-A-1, preferred, 2560x0, auto, bitdepth, 8"
# ];
# workspace = [
# "1, monitor=HDMI-A-1"
# "2, monitor=DP-1"
# "3, monitor=DP-1"
# "4, monitor=DP-1"
# ];
# };
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-1, preferred, 0x0, auto, bitdepth, 8"
"HDMI-A-1, preferred, 2560x0, auto, bitdepth, 8"
];
workspace = [
"1, monitor=HDMI-A-1"
"2, monitor=DP-1"
"3, monitor=DP-1"
"4, monitor=DP-1"
];
};
services.hyprpaper.settings.wallpapers = [
"DP-1, ${builtins.toString wallpaper1}"
"HDMI-A-1, ${builtins.toString wallpaper1}"
services.hyprpaper.settings.preload = [ (builtins.toString wallpaper1) ];
services.hyprpaper.settings.wallpaper = [
"DP-1,${builtins.toString wallpaper1}"
"HDMI-A-1,${builtins.toString wallpaper1}"
];
}