🔧 (home/hyprland) refactor shadow settings and add workspace/window rules

This commit is contained in:
Laureηt 2024-11-16 14:15:05 +01:00
parent 8b21152409
commit bde8d2ab76
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk

View file

@ -55,10 +55,14 @@ in {
# https://wiki.hyprland.org/Configuring/Variables/#decoration # https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration = { decoration = {
rounding = 2; rounding = 2;
drop_shadow = true;
shadow_range = 4; # https://wiki.hyprland.org/Configuring/Variables/#shadow
shadow_render_power = 3; shadow = {
"col.shadow" = "rgba(1a1a1aee)"; enabled = true;
range = 4;
render_power = 3;
color = "rgba(1a1a1aee)";
};
# https://wiki.hyprland.org/Configuring/Variables/#blur # https://wiki.hyprland.org/Configuring/Variables/#blur
blur = { blur = {
@ -79,7 +83,6 @@ in {
dwindle = { dwindle = {
pseudotile = true; pseudotile = true;
preserve_split = true; preserve_split = true;
no_gaps_when_only = true;
}; };
# https://wiki.hyprland.org/Configuring/Variables/#gestures # https://wiki.hyprland.org/Configuring/Variables/#gestures
@ -96,6 +99,20 @@ in {
key_press_enables_dpms = true; key_press_enables_dpms = true;
}; };
# https://wiki.hyprland.org/Configuring/Workspace-Rules
workspace = [
"w[tv1], gapsout:0, gapsin:0"
"f[1], gapsout:0, gapsin:0"
];
# https://wiki.hyprland.org/Configuring/Window-Rules/
windowrulev2 = [
"bordersize 0, floating:0, onworkspace:w[tv1]"
"rounding 0, floating:0, onworkspace:w[tv1]"
"bordersize 0, floating:0, onworkspace:f[1]"
"rounding 0, floating:0, onworkspace:f[1]"
];
bind = [ bind = [
"$mod, Return, exec, ${lib.getExe pkgs.alacritty}" "$mod, Return, exec, ${lib.getExe pkgs.alacritty}"
"$mod, Q, killactive," "$mod, Q, killactive,"