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
+4 -4
View File
@@ -32,7 +32,8 @@ in
};
shadow = {
enabled = false;
range = 2;
render_power = 4;
};
};
@@ -55,14 +56,13 @@ in
general = {
border_size = 0;
gaps_in = 0;
gaps_in = 4;
gaps_out = 0;
};
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
force_default_wallpaper = 0;
};
xwayland = {
@@ -191,7 +191,7 @@ in
services.hyprpaper = {
enable = true;
settings = {
ipc = "off";
ipc = "on";
splash = false;
};
};
+8
View File
@@ -33,9 +33,17 @@
wayland.windowManager.hyprland.settings = {
windowrulev2 = [
# thunar
"float, class:thunar"
"move cursor -50% -50%, class:thunar"
"size 800 600, class:thunar"
# ethui-dev
"workspace 1, class:ethui"
"float, class:ethui"
"size 800 800, class:ethui"
"move 100%-800 100%-800, class:ethui"
"noinitialfocus, class:ethui"
];
};
+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}"
];
}