dotfiles/.config/hypr/config/variables.conf

87 lines
2.9 KiB
Text

# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Variables Configuration ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
source = ~/.config/hypr/config/colors.conf
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 3
gaps_out = 5
border_size = 3
col.active_border = $cachylgreen
col.inactive_border = $cachymblue
layout = dwindle # master|dwindle
# https://wiki.hyprland.org/Configuring/Variables/#snap
snap {
enabled = true
}
}
# removed old gestures {} block — Hyprland 0.39+ uses gesture = … lines
# https://wiki.hyprland.org/Configuring/Variables/#group
group {
col.border_active = $cachydgreen
col.border_inactive = $cachylgreen
col.border_locked_active = $cachymgreen
col.border_locked_inactive = $cachydblue
# https://wiki.hyprland.org/Configuring/Variables/#groupbar
groupbar {
font_family = "Fira Sans"
text_color = $cachydblue
col.active = $cachydgreen
col.inactive = $cachylgreen
col.locked_active = $cachymgreen
col.locked_inactive = $cachydblue
}
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
font_family = "Fira Sans"
splash_font_family = "Fira Sans"
disable_hyprland_logo = true
col.splash = $cachylgreen
background_color = $cachydblue
enable_swallow = true
swallow_regex = ^(nautilus|nemo|thunar|btrfs-assistant.)$
focus_on_activate = true
vrr = 2
}
# https://wiki.hyprland.org/Configuring/Variables/#render
render {
direct_scanout = true
}
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
special_scale_factor = 0.8
pseudotile = true
preserve_split = true
}
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
new_status = master
special_scale_factor = 0.8
}
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Gestures ┃
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
# 4-finger horizontal swipe to switch workspaces
gesture = 4, horizontal, workspace
# 3-finger swipe down closes active window
gesture = 3, down, close
# 3-finger swipe up toggles fullscreen
gesture = 3, up, fullscreen
# 3-finger swipe left toggles float/tile
gesture = 3, left, float