diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 6ae8791..6447c35 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -1,12 +1,14 @@ monitor = HDMI-A-1, preferred, auto, 1.25 $terminal = ghostty -$fileManager = dolphin -$menu = wofi --show drun +$fileManager = thunar +$menu = fuzzel exec-once = hyprpaper exec-once = waybar exec-once = xrdb -merge "$HOME/.Xresources" +exec-once = thunar --daemon +exec-once = dunst env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 @@ -17,7 +19,7 @@ general { border_size = 4 - col.active_border = rgb(5e72eb) rgb(ff9190) 45deg + col.active_border = rgb(f12711) rgb(f5af19) 45deg col.inactive_border = rgba(595959aa) resize_on_border = false @@ -32,29 +34,47 @@ xwayland { force_zero_scaling = true } +# {{{ Decoration +# See https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 10 - rounding_power = 2 + rounding_power = 2.0 active_opacity = 1.0 inactive_opacity = 1.0 + fullscreen_opacity = 1.0 + dim_inactive = false + dim_strength = 0.5 + + + # See https://wiki.hyprland.org/Configuring/Variables/#shadow shadow { - enabled = true - range = 4 - render_power = 3 + enabled = false color = rgba(1a1a1aee) + range = 8 + render_power = 3 + sharp = false + ignore_window = true + offset = 0 0 + scale = 1.0 } + # See https://wiki.hyprland.org/Configuring/Variables/#blur blur { - enabled = true - size = 3 + enabled = false + size = 8 passes = 1 - + ignore_opacity = true + noise = 0.1 + contrast = 0.9 + brightness = 0.8 vibrancy = 0.1696 } } - +# }}} +# {{{ Animations +# See https://wiki.hyprland.org/Configuring/Animations/ animations { enabled = yes, please :) @@ -83,6 +103,7 @@ animations { animation = workspacesIn, 1, 1.21, almostLinear, fade animation = workspacesOut, 1, 1.94, almostLinear, fade } +# }}} # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ # "Smart gaps" / "No gaps when only" @@ -108,14 +129,10 @@ misc { } -############# -### INPUT ### -############# - # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = de - kb_variant = neo_qwertz + # kb_variant = neo_qwertz kb_model = pc105 kb_options = kb_rules = @@ -141,23 +158,20 @@ device { sensitivity = -0.5 } - -################### -### KEYBINDINGS ### -################### - +# {{{ Keybindings # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, return, exec, $terminal bind = $mainMod, Q, killactive, bind = $mainMod, M, exit, -bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, +bind = $mainMod, F, fullscreen, 1 +bind = $mainMod SHIFT, F, fullscreen, 0 + +bind = $mainMod, return, exec, $terminal +bind = $mainMod, E, exec, $fileManager bind = $mainMod, R, exec, $menu -bind = $mainMod, P, pseudo, # dwindle -bind = $mainMod, J, togglesplit, # dwindle # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l @@ -165,6 +179,11 @@ bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d +bind = $mainMod, H, movefocus, l +bind = $mainMod, L, movefocus, r +bind = $mainMod, K, movefocus, u +bind = $mainMod, J, movefocus, d + # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 @@ -215,18 +234,22 @@ bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous -############################## -### WINDOWS AND WORKSPACES ### -############################## +# }}} +# {{{ Window Rules # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules -# Example windowrule -# windowrule = float,class:^(kitty)$,title:^(kitty)$ - -# Ignore maximize requests from apps. You'll probably like this. windowrule = suppressevent maximize, class:.* +# Use `hyprctl clients` to find the class of an application + +windowrule = workspace 1, class:vivaldi.* +windowrule = workspace 3, class:discord +windowrule = workspace 3, class:Signal +windowrule = workspace 5, class:Spotify + # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 + +# }}}