Files
dotfiles/user/dot_config/hypr/hyprland-variables.lua
T
2026-07-30 05:00:35 +02:00

190 lines
4.8 KiB
Lua

-- catppuccin color scheme --
-- macchiato
local cat_macchiato_rosewater = "#f4dbd6"
local cat_macchiato_flamingo = "#f0c6c6"
local cat_macchiato_pink = "#f5bde6"
local cat_macchiato_mauve = "#c6a0f6"
local cat_macchiato_red = "#ed8796"
local cat_macchiato_maroon = "#ee99a0"
local cat_macchiato_peach = "#f5a97f"
local cat_macchiato_yellow = "#eed49f"
local cat_macchiato_green = "#a6da95"
local cat_macchiato_teal = "#8bd5ca"
local cat_macchiato_sky = "#91d7e3"
local cat_macchiato_sapphire = "#7dc4e4"
local cat_macchiato_blue = "#8aadf4"
local cat_macchiato_lavender = "#b7bdf8"
local cat_macchiato_text = "#cad3f5"
local cat_macchiato_subtext1 = "#b8c0e0"
local cat_macchiato_subtext0 = "#a5adcb"
local cat_macchiato_overlay2 = "#939ab7"
local cat_macchiato_overlay1 = "#8087a2"
local cat_macchiato_overlay0 = "#6e738d"
local cat_macchiato_surface2 = "#5b6078"
local cat_macchiato_surface1 = "#494d64"
local cat_macchiato_surface0 = "#363a4f"
local cat_macchiato_base = "#24273a"
local cat_macchiato_mantle = "#1e2030"
local cat_macchiato_crust = "#181926"
-- colors to be used
local color_rosewater = cat_macchiato_rosewater
local color_flamingo = cat_macchiato_flamingo
local color_pink = cat_macchiato_pink
local color_mauve = cat_macchiato_mauve
local color_red = cat_macchiato_red
local color_maroon = cat_macchiato_maroon
local color_peach = cat_macchiato_peach
local color_yellow = cat_macchiato_yellow
local color_green = cat_macchiato_green
local color_teal = cat_macchiato_teal
local color_sky = cat_macchiato_sky
local color_sapphire = cat_macchiato_sapphire
local color_blue = cat_macchiato_blue
local color_lavender = cat_macchiato_lavender
local color_text = cat_macchiato_text
local color_subtext1 = cat_macchiato_subtext1
local color_subtext0 = cat_macchiato_subtext0
local color_overlay2 = cat_macchiato_overlay2
local color_overlay1 = cat_macchiato_overlay1
local color_overlay0 = cat_macchiato_overlay0
local color_surface2 = cat_macchiato_surface2
local color_surface1 = cat_macchiato_surface1
local color_surface0 = cat_macchiato_surface0
local color_base = cat_macchiato_base
local color_mantle = cat_macchiato_mantle
local color_crust = cat_macchiato_crust
-- configuration --
local FollowMouse = {
NEVER = 0,
ALWAYS = 1,
CLICK = 2,
SEPARATE_KEYBOARD_MOUSE_FOCUS = 3,
}
local FocusOnClose = {
NEXT = 0,
UNDER_CURSOR = 1,
MOST_RECENT = 2,
}
local DragLock = {
DISABLED = 0,
WITH_TIMEOUT = 1,
STICKY = 2,
}
local Vrr = {
OFF = 0,
ON = 1,
FULLSCREEN = 2,
FULLSCREEN_VIDEO_OR_GAME = 3,
}
local PreferHdr = {
OFF = 0,
ALWAYS = 1,
GAMES = 2
}
return {
input = {
kb_model = "",
kb_layout = "de",
kb_variant = "nodeadkeys",
kb_options = "compose:rwin",
kb_rules = "",
numlock_by_default = true,
scroll_method = "2fg",
natural_scroll = false,
follow_mouse = FollowMouse.ALWAYS,
follow_mouse_threshold = 10.0,
focus_on_close = FocusOnClose.MOST_RECENT,
touchpad = {
disable_while_typing = true,
natural_scroll = false,
middle_button_emulation = false,
drag_lock = DragLock.WITH_TIMEOUT,
},
},
general = {
border_size = 3,
gaps_in = 10,
gaps_out = 20,
float_gaps = 10,
gaps_workspaces = 0,
col = {
inactive_border = color_overlay0,
active_border = color_lavender,
nogroup_border = color_mauve,
nogroup_border_active = color_red,
},
layout = "master",
snap = {
enabled = true, -- floating windows should snap to each other
respect_gaps = true, -- respect gaps_in when snapping
window_gap = 20, -- distance between windows before snapping
},
},
decoration = {
rounding = 0,
active_opacity = 1.0,
inactive_opacity = 1.0,
fullscreen_opacity = 1.0,
dim_modal = true,
dim_inactive = true,
dim_strength = 0.1,
dim_special = 0.8,
},
group = {
col = {
border_active = color_green,
border_inactive = color_overlay0,
border_locked_active = color_green,
border_locked_inactive = color_overlay0,
},
groupbar = {
enabled = true,
font_size = 14,
font_weight_active = "bold",
height = 18,
text_color = color_text,
text_color_locked_active = color_red,
text_color_locked_inactive = color_red,
col = {
active = color_green,
inactive = color_overlay0,
locked_active = color_red,
locked_inactive = color_overlay0,
},
middle_click_close = false,
}
},
master = {
mfact = 0.7,
new_status = "slave",
new_on_top = false,
new_on_active = "none",
orientation = "left",
},
misc = {
disable_hyprland_logo = true,
disable_splash_rendering = true,
disable_scale_notification = false,
font_family = "Inter",
vrr = Vrr.FULLSCREEN_VIDEO_OR_GAME,
lockdead_screen_delay = 5000,
},
binds = {
workspace_back_and_forth = true,
},
cursor = {
inactive_timeout = 30,
},
ecosystem = {
no_update_news = false,
no_donation_nag = true,
enforce_permissions = false,
},
quirks = {
prefer_hdr = PreferHdr.OFF,
}
}