some fixes in hyprland
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
-- config/variables.lua
|
||||
-- Mirrors: variables.conf + decorations.conf + animations.conf
|
||||
|
||||
-- ── Application shortcuts ─────────────────────────────────────
|
||||
terminal = "kitty"
|
||||
filemanager = "nemo"
|
||||
applauncher = "vicinae toggle"
|
||||
dmenu = "vicinae dmenu --placeholder"
|
||||
idlehandler = "hypridle" -- switched to hypridle; adjust if needed
|
||||
|
||||
-- ── General ───────────────────────────────────────────────────
|
||||
hl.config({
|
||||
general = {
|
||||
gaps_in = 2,
|
||||
gaps_out = 1,
|
||||
border_size = 1,
|
||||
["col.active_border"] = color4,
|
||||
["col.inactive_border"] = color2,
|
||||
layout = "dwindle",
|
||||
resize_on_border = true,
|
||||
extend_border_grab_area = 10,
|
||||
snap = { enabled = true },
|
||||
},
|
||||
|
||||
group = {
|
||||
["col.border_active"] = color6,
|
||||
["col.border_inactive"] = color2,
|
||||
["col.border_locked_active"] = color3,
|
||||
["col.border_locked_inactive"] = color0,
|
||||
groupbar = {
|
||||
font_size = 13,
|
||||
height = 1,
|
||||
indicator_height = 16,
|
||||
rounding = 2,
|
||||
font_family = "Roboto Sans",
|
||||
text_color = foreground,
|
||||
text_offset = -8,
|
||||
font_weight_active = "ultraheavy",
|
||||
font_weight_inactive = "semibold",
|
||||
["col.active"] = color6,
|
||||
["col.inactive"] = color2,
|
||||
["col.locked_active"] = color3,
|
||||
["col.locked_inactive"] = color0,
|
||||
},
|
||||
},
|
||||
|
||||
-- ── Decorations ───────────────────────────────────────────
|
||||
decoration = {
|
||||
active_opacity = 1.0,
|
||||
inactive_opacity = 0.7,
|
||||
rounding = 5,
|
||||
dim_inactive = true,
|
||||
dim_strength = 0.1,
|
||||
blur = {
|
||||
size = 30,
|
||||
passes = 2,
|
||||
xray = true,
|
||||
noise = 0.01,
|
||||
},
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 10,
|
||||
},
|
||||
},
|
||||
-- ── Misc ──────────────────────────────────────────────────
|
||||
misc = {
|
||||
font_family = "Roboto Sans",
|
||||
splash_font_family = "Roboto Sans",
|
||||
disable_hyprland_logo = true,
|
||||
["col.splash"] = color2,
|
||||
background_color = background,
|
||||
enable_swallow = false,
|
||||
swallow_regex = "^(cachy-browser|firefox|nautilus|nemo|thunar|btrfs-assistant.)$",
|
||||
focus_on_activate = true,
|
||||
vrr = 0,
|
||||
session_lock_xray = true,
|
||||
middle_click_paste = false,
|
||||
},
|
||||
|
||||
render = {
|
||||
direct_scanout = false,
|
||||
},
|
||||
|
||||
dwindle = {
|
||||
special_scale_factor = 0.8,
|
||||
preserve_split = true,
|
||||
},
|
||||
|
||||
master = {
|
||||
new_status = "master",
|
||||
special_scale_factor = 0.8,
|
||||
},
|
||||
|
||||
cursor = {
|
||||
no_hardware_cursors = true,
|
||||
},
|
||||
|
||||
binds = {
|
||||
allow_workspace_cycles = true,
|
||||
workspace_back_and_forth = true,
|
||||
workspace_center_on = 1,
|
||||
movefocus_cycles_fullscreen = true,
|
||||
window_direction_monitor_fallback = true,
|
||||
},
|
||||
})
|
||||
|
||||
hl.curve("smooth", { type = "bezier", points = { { 0, 0.05 }, { 0.44, 0.99 } } })
|
||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 3, bezier = "smooth", style = "slidefade" })
|
||||
hl.animation({ leaf = "windowsIn", enabled = true, speed = 3, bezier = "smooth", style = "slidefade" })
|
||||
hl.animation({ leaf = "windowsOut", enabled = true, speed = 3, bezier = "default", style = "slidefade" })
|
||||
hl.animation({ leaf = "windowsMove", enabled = true, speed = 3, bezier = "default", style = "slidefade" })
|
||||
hl.animation({ leaf = "border", enabled = true, speed = 5, bezier = "default" })
|
||||
Reference in New Issue
Block a user