|
| 1 | +# ============================================================================== |
| 2 | +# USER CONFIGURATION: appearance.conf |
| 3 | +# ============================================================================== |
| 4 | +# Add your custom settings for appearance here. |
| 5 | +# These will override or add to the defaults found in ~/.config/hypr/source/appearance.conf |
| 6 | +# This file can also be edited with dusky appearance from the rofi menu or from dusky control center |
| 7 | +# ============================================================================== |
| 8 | + |
| 9 | +# ------------------------------------------------------------------------------------------------- |
| 10 | +# THEME SOURCE |
| 11 | +# ------------------------------------------------------------------------------------------------- |
| 12 | +# Sourcing colors generated by Matugen |
| 13 | +source = ~/.config/matugen/generated/hyprland-colors.conf |
| 14 | + |
| 15 | +# ------------------------------------------------------------------------------------------------- |
| 16 | +# 1. GENERAL APPEARANCE |
| 17 | +# Control gaps, borders, and layout behavior. |
| 18 | +# See: https://wiki.hyprland.org/Configuring/Variables/#general |
| 19 | +# ------------------------------------------------------------------------------------------------- |
| 20 | +general { |
| 21 | + # --- Gaps & Borders --- |
| 22 | + gaps_in = 6 # Gap between windows |
| 23 | + gaps_out = 12 # Gap between windows and monitor edges |
| 24 | + gaps_workspaces = 0 # Gap between workspaces (when sliding) |
| 25 | + border_size = 2 # Size of window borders |
| 26 | + |
| 27 | + # --- Colors --- |
| 28 | + # Uses variables from the sourced matugen file |
| 29 | + col.active_border = $primary |
| 30 | + col.inactive_border = $inverse_on_surface |
| 31 | + |
| 32 | + # --- Behavior --- |
| 33 | + # RESIZING: Set to true. This allows you to resize windows by clicking and dragging |
| 34 | + # on the gaps/border area, rather than hitting the exact 2px pixel border. |
| 35 | + resize_on_border = false |
| 36 | + |
| 37 | + # TEARING: Allows lower latency in games. |
| 38 | + # NOTE: To use this, you must also apply 'windowrulev2 = immediate, class:^(game_class)$' |
| 39 | + allow_tearing = true |
| 40 | + |
| 41 | + # Default layout engine |
| 42 | + layout = dwindle |
| 43 | + |
| 44 | + # --- Snapping --- |
| 45 | + # Controls how floating windows snap to each other and edges |
| 46 | + snap { |
| 47 | + enabled = false |
| 48 | + window_gap = 10 # Min gap (px) before snapping to another window |
| 49 | + monitor_gap = 10 # Min gap (px) before snapping to monitor edge |
| 50 | + border_overlap = false # If true, windows snap with overlapping borders |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +# ------------------------------------------------------------------------------------------------- |
| 55 | +# 2. DECORATION |
| 56 | +# Shadows, Blur, Opacity, and Rounding. |
| 57 | +# See: https://wiki.hyprland.org/Configuring/Variables/#decoration |
| 58 | +# ------------------------------------------------------------------------------------------------- |
| 59 | +decoration { |
| 60 | + # --- Rounding --- |
| 61 | + rounding = 6 |
| 62 | + rounding_power = 6.0 |
| 63 | + |
| 64 | + # --- Opacity --- |
| 65 | + active_opacity = 0.8 |
| 66 | + inactive_opacity = 0.6 |
| 67 | + fullscreen_opacity = 1.0 |
| 68 | + |
| 69 | + # --- Dimming --- |
| 70 | + dim_inactive = true |
| 71 | + dim_strength = 0.2 |
| 72 | + dim_special = 0.8 # Stronger dimming for special workspace |
| 73 | + |
| 74 | + # --- Shadows --- |
| 75 | + # Enabled because your hardware (12700H) can easily handle it. |
| 76 | + shadow { |
| 77 | + enabled = true |
| 78 | + range = 35 |
| 79 | + render_power = 2 # 1-4. Higher is faster falloff (sharper looking) |
| 80 | + sharp = false # If true, renders a sharp shadow (retro style) |
| 81 | + scale = 1.0 # Scale of the shadow (1.0 = window size) |
| 82 | + color = rgba(1a1a1aee) |
| 83 | + # color = $primary |
| 84 | + # offset = 0 0 # Displaces shadow (x, y) |
| 85 | + } |
| 86 | + |
| 87 | + # --- Blur --- |
| 88 | + # Enabled for aesthetic depth. |
| 89 | + blur { |
| 90 | + enabled = true |
| 91 | + size = 4 # Radius |
| 92 | + passes = 2 # Quality (2 is a good balance of perf/looks) |
| 93 | + new_optimizations = true |
| 94 | + ignore_opacity = true # Blurs behind transparent windows even if opacity is high |
| 95 | + xray = true |
| 96 | + |
| 97 | + # Texture & Quality |
| 98 | + noise = 0.0217 |
| 99 | + contrast = 0.8916 # Contrast modulation for blur |
| 100 | + brightness = 0.8172 # Brightness modulation for blur |
| 101 | + vibrancy = 0.1696 # Saturation of blurred colors |
| 102 | + |
| 103 | + # Specifics |
| 104 | + popups = false # Whether to blur right-click menus/popups |
| 105 | + } |
| 106 | + |
| 107 | + # --- Shaders --- |
| 108 | + # screen_shader = ~/.config/hypr/shaders/grayscale_advanced.glsl |
| 109 | +} |
| 110 | + |
| 111 | +# ------------------------------------------------------------------------------------------------- |
| 112 | +# 3. ANIMATIONS |
| 113 | +# See: https://wiki.hyprland.org/Configuring/Animations/ |
| 114 | +# ------------------------------------------------------------------------------------------------- |
| 115 | + |
| 116 | +source = ~/.config/hypr/source/animations/active/active.conf |
| 117 | + |
| 118 | +# ------------------------------------------------------------------------------------------------- |
| 119 | +# 4. LAYOUTS |
| 120 | +# ------------------------------------------------------------------------------------------------- |
| 121 | +dwindle { |
| 122 | + preserve_split = true |
| 123 | + # smart_split = false # If true, splits based on mouse position. |
| 124 | + # smart_resizing = false # If true, resizing direction is determined by mouse pos. |
| 125 | +} |
| 126 | + |
| 127 | +master { |
| 128 | + new_status = master |
| 129 | +} |
| 130 | + |
| 131 | +# ------------------------------------------------------------------------------------------------- |
| 132 | +# 5. MISCELLANEOUS & PERFORMANCE |
| 133 | +# See: https://wiki.hyprland.org/Configuring/Variables/#misc |
| 134 | +# ------------------------------------------------------------------------------------------------- |
| 135 | +misc { |
| 136 | + force_default_wallpaper = 1 # Set to 0 to enable the anime mascot |
| 137 | + disable_hyprland_logo = true |
| 138 | + disable_splash_rendering = true |
| 139 | +} |
| 140 | + |
| 141 | +# ------------------------------------------------------------------------------------------------- |
| 142 | +# 6. BINDS (Visual specific) |
| 143 | +# ------------------------------------------------------------------------------------------------- |
| 144 | +binds { |
| 145 | + allow_pin_fullscreen = true |
| 146 | +} |
| 147 | + |
| 148 | +# debug { |
| 149 | +# overlay = true |
| 150 | +# } |
| 151 | +# ------------------------------------------------------------------------------------------------- |
| 152 | +# 7. SMART GAPS (Single Window Override) |
| 153 | +# Applied automatically when only 1 window is tiled or fullscreened on a workspace. |
| 154 | +# ------------------------------------------------------------------------------------------------- |
| 155 | +$single_window_gap = 10 |
| 156 | +workspace = w[tv1], gapsout:$single_window_gap, gapsin:0 |
| 157 | +workspace = f[1], gapsout:$single_window_gap, gapsin:0 |
0 commit comments