replaced hyprland config with lua

This commit is contained in:
2026-08-23 11:32:54 -07:00
parent 4a659f016f
commit e4df7507ac
20 changed files with 897 additions and 350 deletions

View File

@@ -0,0 +1,32 @@
--██ ██ ██ ███ ██ ████▄ ▄████▄ ██ ██ █████▄ ██ ██ ██ ██████ ▄█████
--██ ▄█▄ ██ ██ ██ ▀▄██ ██ ██ ██ ██ ██ ▄█▄ ██ ██▄▄██▄ ██ ██ ██ ██▄▄ ▀▀▀▄▄▄
-- ▀██▀██▀ ██ ██ ██ ████▀ ▀████▀ ▀██▀██▀ ██ ██ ▀████▀ ██████ ██▄▄▄▄ █████▀
-- Fix some dragging issues with XWayland
hl.window_rule({
match = {
class = "^$",
title = "^$",
xwayland = 1,
float = 0,
fullscreen = 0,
pin = 0,
},
no_focus = true,
})
-- Prevent apps from auto-maximizing themselves
hl.window_rule({
match = {
class = ".*",
},
suppress_event = "maximize",
})
-- 97% opacity when focused, 90% when unfocused
hl.window_rule({
match = {
class = ".*",
},
opacity = "0.97 0.9",
})