| 1 | # ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ |
| 2 | # ┃ Variables Configuration ┃ |
| 3 | # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ |
| 4 | |
| 5 | source = ~/.config/hypr/config/colors.conf |
| 6 | |
| 7 | # Monitor globals |
| 8 | $priMon = DP-1 |
| 9 | $secMon = HDMI-A-1 |
| 10 | |
| 11 | # https://wiki.hyprland.org/Configuring/Variables/#general |
| 12 | general { |
| 13 | |
| 14 | gaps_in = 3 |
| 15 | gaps_out = 5 |
| 16 | border_size = 3 |
| 17 | col.active_border = $cachylgreen |
| 18 | col.inactive_border = $cachymblue |
| 19 | layout = dwindle # master|dwindle |
| 20 | |
| 21 | # https://wiki.hyprland.org/Configuring/Variables/#snap |
| 22 | snap { |
| 23 | enabled = true |
| 24 | } |
| 25 | |
| 26 | } |
| 27 | |
| 28 | # https://wiki.hyprland.org/Configuring/Variables/#gestures |
| 29 | # gestures { |
| 30 | # workspace_swipe = true |
| 31 | # workspace_swipe_fingers = 4 |
| 32 | # workspace_swipe_distance = 250 |
| 33 | # workspace_swipe_min_speed_to_force = 15 |
| 34 | # workspace_swipe_create_new = false |
| 35 | # } |
| 36 | |
| 37 | # https://wiki.hyprland.org/Configuring/Variables/#group |
| 38 | group { |
| 39 | col.border_active = $cachydgreen |
| 40 | col.border_inactive = $cachylgreen |
| 41 | col.border_locked_active = $cachymgreen |
| 42 | col.border_locked_inactive = $cachydblue |
| 43 | |
| 44 | # https://wiki.hyprland.org/Configuring/Variables/#groupbar |
| 45 | groupbar { |
| 46 | font_family = "Fira Sans" |
| 47 | text_color = $cachydblue |
| 48 | col.active = $cachydgreen |
| 49 | col.inactive = $cachylgreen |
| 50 | col.locked_active = $cachymgreen |
| 51 | col.locked_inactive = $cachydblue |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | # https://wiki.hyprland.org/Configuring/Variables/#misc |
| 56 | misc { |
| 57 | font_family = "Fira Sans" |
| 58 | splash_font_family = "Fira Sans" |
| 59 | disable_hyprland_logo = true |
| 60 | col.splash = $cachylgreen |
| 61 | background_color = $cachydblue |
| 62 | enable_swallow = true |
| 63 | swallow_regex = ^(firefox|nautilus|nemo|thunar|btrfs-assistant.)$ |
| 64 | focus_on_activate = true |
| 65 | vrr = 2 |
| 66 | } |
| 67 | |
| 68 | # https://wiki.hyprland.org/Configuring/Variables/#render |
| 69 | render { |
| 70 | direct_scanout = true |
| 71 | } |
| 72 | |
| 73 | # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more |
| 74 | dwindle { |
| 75 | special_scale_factor = 0.8 |
| 76 | pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below |
| 77 | preserve_split = true |
| 78 | } |
| 79 | |
| 80 | # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more |
| 81 | master { |
| 82 | new_status = master |
| 83 | special_scale_factor = 0.8 |
| 84 | } |
| 85 |