diff --git a/modules/applications/hyprland.nix b/modules/applications/hyprland.nix index c8dfeda..bba810c 100644 --- a/modules/applications/hyprland.nix +++ b/modules/applications/hyprland.nix @@ -104,6 +104,64 @@ "$browser" = "kitty --class \"custom-browserprofiles\" --name \"Select browser profile\" --hold custom-browserprofiles"; # ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ # █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ + + config = { + input = { + kb_layout = "ch"; + follow_mouse = 1; + sensitivity = 0; + force_no_accel = 1; + }; + + # █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀ + # █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█ + + dwindle = { + preserve_split = true; + }; + scrolling = { + column_width = 0.45; + }; + + # █▀▄▀█ █ █▀ █▀▀ + # █░▀░█ █ ▄█ █▄▄ + + misc = { + vrr = 0; + force_default_wallpaper = 0; + }; + xwayland = { + force_zero_scaling = true; + }; + decoration = { + dim_special = 0.3; + rounding = 18; + blur = { + special = true; + enabled = true; + size = 4; + passes = 2; + new_optimizations = true; + ignore_opacity = true; + }; + }; + general = { + gaps_in = 5; + gaps_out = 15; + border_size = 4; + #"col.active_border" = "rgba(ca6702ff) rgba(ecd3a0ff) 45deg"; + #"col.inactive_border" = "rgba(f1dca7d9) rgba(ffe1a8d9) 45deg"; + layout = "dwindle"; + resize_on_border = true; + }; + group = { + #"col.border_active" = "rgba(ca6702ff) rgba(ecd3a0ff) 45deg"; + #"col.border_inactive" = "rgba(f1dca7d9) rgba(ffe1a8d9) 45deg"; + #"col.border_locked_active" = "rgba(ca6702ff) rgba(ecd3a0ff) 45deg"; + #"col.border_locked_inactive" = "rgba(f1dca7d9) rgba(ffe1a8d9) 45deg"; + }; + + }; /*animations = { enabled = true; bezier = [ @@ -143,12 +201,7 @@ # █ █▄░█ █▀█ █░█ ▀█▀ # █ █░▀█ █▀▀ █▄█ ░█░ - input = { - kb_layout = ["ch"]; - follow_mouse = 1; - sensitivity = 0; - force_no_accel = 1; - }; + # █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀ # █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█ @@ -421,19 +474,19 @@ bind = [ ]; } - { - _args = [ - "SUPER + MOUSE_DOWN" - (lib.generators.mkLuaInline ''hl.dsp.focus({ workspace = "e+1" })'') - ]; - } - - { - _args = [ - "SUPER + MOUSE_UP" - (lib.generators.mkLuaInline ''hl.dsp.focus({ workspace = "e-1" })'') - ]; - } +# { +# _args = [ +# "SUPER + MOUSE_DOWN" +# (lib.generators.mkLuaInline ''hl.dsp.focus({ workspace = "e+1" })'') +# ]; +# } +# +# { +# _args = [ +# "SUPER + MOUSE_UP" +# (lib.generators.mkLuaInline ''hl.dsp.focus({ workspace = "e-1" })'') +# ]; +# } { _args = [ @@ -448,34 +501,34 @@ bind = [ ]; } - { - _args = [ - "SUPER + S" - "togglespecialworkspace" - ]; - } - { - _args = [ - "ALT + SUPER + S" - "movetoworkspace" - "special" - ]; - } +# { +# _args = [ +# "SUPER + S" +# "togglespecialworkspace" +# ]; +# } +# { +# _args = [ +# "ALT + SUPER + S" +# "movetoworkspace" +# "special" +# ]; +# } - { - _args = [ - "SUPER + A" - "layoutmsg" - "move -col" - ]; - } - { - _args = [ - "SUPER + D" - "layoutmsg" - "move +col" - ]; - } +# { +# _args = [ +# "SUPER + A" +# "layoutmsg" +# "move -col" +# ]; +# } +# { +# _args = [ +# "SUPER + D" +# "layoutmsg" +# "move +col" +# ]; +# } { _args = [ @@ -506,7 +559,7 @@ bind = [ _args = [ "SUPER + SHIFT + A" (lib.generators.mkLuaInline ''hl.dsp.exec_cmd("caelestia shell drawers toggle launcher")'') - ]; + ]; } { @@ -763,26 +816,6 @@ bind = [ "3, left, move, -col" ]; - # █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀ - # █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█ - - dwindle = { - preserve_split = true; - }; - scrolling = { - column_width = 0.45; - }; - - # █▀▄▀█ █ █▀ █▀▀ - # █░▀░█ █ ▄█ █▄▄ - - misc = { - vrr = 0; - force_default_wallpaper = 0; - }; - xwayland = { - force_zero_scaling = true; - }; # █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ # █░▀░█ █▄█ █#░▀█ █ ░█░ █▄█ █▀▄ @@ -846,33 +879,6 @@ bind = [ ##################################################### ##################################################### # theme - decoration = { - dim_special = 0.3; - rounding = 18; - blur = { - special = true; - enabled = true; - size = 4; - passes = 2; - new_optimizations = true; - ignore_opacity = true; - }; - }; - general = { - gaps_in = 5; - gaps_out = 15; - border_size = 4; - "col.active_border" = "rgba(ca6702ff) rgba(ecd3a0ff) 45deg"; - "col.inactive_border" = "rgba(f1dca7d9) rgba(ffe1a8d9) 45deg"; - layout = "dwindle"; - resize_on_border = true; - }; - group = { - "col.border_active" = "rgba(ca6702ff) rgba(ecd3a0ff) 45deg"; - "col.border_inactive" = "rgba(f1dca7d9) rgba(ffe1a8d9) 45deg"; - "col.border_locked_active" = "rgba(ca6702ff) rgba(ecd3a0ff) 45deg"; - "col.border_locked_inactive" = "rgba(f1dca7d9) rgba(ffe1a8d9) 45deg"; - }; #################################################### ##################################################