Files
dotfiles/.config/hypr/hyprland/general.lua
2026-07-17 15:38:13 +02:00

56 lines
1.5 KiB
Lua

local colors = require("hyprland.variables.colors")
hl.config({
general = {
gaps_in = 5,
gaps_out = { top = 10, right = 20, bottom = 20, left = 20 },
border_size = 2,
-- https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col = {
active_border = { colors = { colors.primary.from, colors.primary.to }, angle = 45 },
},
-- Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false,
-- Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false,
-- Use dwindle per default, changed on a per-workspace basis in the workspace rules below
layout = "dwindle"
},
decoration = {
rounding = 10,
rounding_power = 2,
-- Change transparency of focused and unfocused windows
active_opacity = 1.0,
inactive_opacity = 1.0,
dim_special = 0.7,
shadow = {
enabled = true,
range = 4,
render_power = 3,
color = 0xee1a1a1a,
},
blur = {
enabled = true,
size = 3,
passes = 1,
vibrancy = 0.1696,
},
},
misc = {
force_default_wallpaper = 0,
disable_hyprland_logo = true,
close_special_on_empty = false,
}
})