diff --git a/templates/hyprland.conf.j2 b/templates/hyprland.conf.j2 index db1cf87..cb71c77 100644 --- a/templates/hyprland.conf.j2 +++ b/templates/hyprland.conf.j2 @@ -1,17 +1,124 @@ -# Stargate Atlantis Farver +# ===== Hyprland Hovedkonfiguration - Stargate Atlantis Tema ===== + +# --------------------------------------------------- +# Sektion 1: Autostart (Programmer der starter med Hyprland) +# VIGTIGT: Disse linjer manglede! +# --------------------------------------------------- +exec-once = waybar & +exec-once = hyprpaper & +exec-once = /usr/lib/polkit-kde-authentication-agent-1 & + + +# --------------------------------------------------- +# Sektion 2: Skærmindstillinger +# --------------------------------------------------- +# Se https://wiki.hyprland.org/Configuring/Monitors/ for flere detaljer +monitor=,preferred,auto,1 + + +# --------------------------------------------------- +# Sektion 3: Environment Variabler +# --------------------------------------------------- +env = XCURSOR_SIZE,24 +env = QT_QPA_PLATFORMTHEME,qt5ct # For at Qt-apps ser pænere ud + + +# --------------------------------------------------- +# Sektion 4: Input Indstillinger (Tastatur & Mus) +# --------------------------------------------------- +input { + kb_layout = dk + kb_variant = + kb_model = + kb_options = grp:alt_shift_toggle # Gør det muligt at tilføje flere layouts og skifte med Alt+Shift + kb_rules = + + follow_mouse = 1 + + touchpad { + natural_scroll = no + } + sensitivity = 0 # -1.0 til 1.0, 0 betyder ingen ændring +} + + +# --------------------------------------------------- +# Sektion 5: Generelle Indstillinger & Udseende +# --------------------------------------------------- general { gaps_in = 5 gaps_out = 10 border_size = 2 - # Klar blå ramme om aktivt vindue med en lys 'glow' + + # Stargate Atlantis farver col.active_border = rgba(00a0ffff) rgba(ffffffaa) 45deg - # Sølv/lysegrå ramme om inaktivt vindue col.inactive_border = rgba(ccccccaa) + + layout = dwindle # Tiling layout } decoration { - rounding = 3 # Lidt skarpere kanter passer godt til Lantean-design - # ... resten af dine indstillinger ... - # Overvej en hvidlig skygge for at efterligne lys - col.shadow = rgba(fdfdfdaa) + rounding = 3 + + blur { + enabled = true + size = 3 + passes = 1 + } + + drop_shadow = yes + shadow_range = 4 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) } + +animations { + enabled = yes + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + + +# --------------------------------------------------- +# Sektion 6: Keybindings (Genvejstaster) +# --------------------------------------------------- +$mainMod = SUPER # "Super" er Windows-tasten + +# Grundlæggende navigation +bind = $mainMod, RETURN, exec, kitty +bind = $mainMod, Q, killactive, +bind = $mainMod, M, exit, # Afslut Hyprland session +bind = $mainMod, D, exec, wofi --show drun +bind = $mainMod, F, fullscreen, + +# Flyt fokus med piletaster +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Skift til workspace 1-9 +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 + +# Flyt aktivt vindue til workspace 1-9 +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 \ No newline at end of file