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 = { shadow = {
enabled = false; range = 2;
render_power = 4;
}; };
}; };
@@ -55,14 +56,13 @@ in
general = { general = {
border_size = 0; border_size = 0;
gaps_in = 0; gaps_in = 4;
gaps_out = 0; gaps_out = 0;
}; };
misc = { misc = {
disable_hyprland_logo = true; disable_hyprland_logo = true;
disable_splash_rendering = true; disable_splash_rendering = true;
force_default_wallpaper = 0;
}; };
xwayland = { xwayland = {
@@ -191,7 +191,7 @@ in
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = { settings = {
ipc = "off"; ipc = "on";
splash = false; splash = false;
}; };
}; };
+8
View File
@@ -33,9 +33,17 @@
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
windowrulev2 = [ windowrulev2 = [
# thunar
"float, class:thunar" "float, class:thunar"
"move cursor -50% -50%, class:thunar" "move cursor -50% -50%, class:thunar"
"size 800 600, 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, inputs,
pkgs, pkgs,
config, config,
...
}: }:
let let
wallpaper1 = pkgs.fetchurl { wallpaper1 = pkgs.fetchurl {
url = "https://i.redd.it/mvev8aelh7zc1.png"; url = "https://4kwallpapers.com/images/wallpapers/abstract-design-3840x2160-17068.jpg";
hash = "sha256-lJjIq+3140a5OkNy/FAEOCoCcvQqOi73GWJGwR2zT9w"; hash = "sha256-F/XE/ETwzYwtbQWXY78c2AJc8xe2mRunB8Q9/c2F7kY=";
}; };
in in
{ {
# wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
# monitor = [ monitor = [
# "DP-1, preferred, 0x0, auto, bitdepth, 8" "DP-1, preferred, 0x0, auto, bitdepth, 8"
# "HDMI-A-1, preferred, 2560x0, auto, bitdepth, 8" "HDMI-A-1, preferred, 2560x0, auto, bitdepth, 8"
# ]; ];
# workspace = [ workspace = [
# "1, monitor=HDMI-A-1" "1, monitor=HDMI-A-1"
# "2, monitor=DP-1" "2, monitor=DP-1"
# "3, monitor=DP-1" "3, monitor=DP-1"
# "4, monitor=DP-1" "4, monitor=DP-1"
# ]; ];
# }; };
services.hyprpaper.settings.wallpapers = [ services.hyprpaper.settings.preload = [ (builtins.toString wallpaper1) ];
"DP-1, ${builtins.toString wallpaper1}" services.hyprpaper.settings.wallpaper = [
"HDMI-A-1, ${builtins.toString wallpaper1}" "DP-1,${builtins.toString wallpaper1}"
"HDMI-A-1,${builtins.toString wallpaper1}"
]; ];
} }