replaced hyprland config with lua
This commit is contained in:
32
hypr/hyprland/windowrules.lua
Normal file
32
hypr/hyprland/windowrules.lua
Normal 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",
|
||||
})
|
||||
Reference in New Issue
Block a user