You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
2.3 KiB
106 lines
2.3 KiB
----------------
|
|
-- Window Rule
|
|
----------------
|
|
hl.window_rule {
|
|
name = 'web_browser',
|
|
match = { class = '^helium$' },
|
|
|
|
workspace = 3,
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'games',
|
|
match = { class = '^steam$|^(?:yuanshen|starrail|zenlesszonezero)\\.exe$|^steam_app_.*' },
|
|
|
|
workspace = 4,
|
|
|
|
content = 'game',
|
|
immediate = true,
|
|
}
|
|
hl.window_rule {
|
|
name = 'gamescope',
|
|
match = { class = '^gamescope$' },
|
|
|
|
workspace = 4,
|
|
|
|
content = 'game',
|
|
immediate = true,
|
|
|
|
float = true,
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'videos',
|
|
match = { class = '^com.example.piliplus$' },
|
|
|
|
workspace = 'name:ws_dp4',
|
|
content = 'video',
|
|
}
|
|
hl.window_rule {
|
|
name = 'videos_by_title',
|
|
match = { class = '^$', title = '^wiliwili$' },
|
|
|
|
workspace = 'name:ws_dp4',
|
|
content = 'video',
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'photos',
|
|
match = { class = '^feh$' },
|
|
|
|
content = 'photo',
|
|
float = true,
|
|
center = true,
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'just_float',
|
|
match = { class = '^wechat$|^baidunetdisk$' },
|
|
|
|
float = true,
|
|
center = true,
|
|
}
|
|
hl.window_rule {
|
|
name = 'just_float_browser',
|
|
match = { class = '^app.zen_browser.zen$', title = '^https://translate.google.com' },
|
|
|
|
float = true,
|
|
center = true,
|
|
}
|
|
hl.window_rule {
|
|
name = 'kitten',
|
|
match = { class = '^kitty$', title = '^kitten$' },
|
|
|
|
float = true,
|
|
center = true,
|
|
}
|
|
|
|
-------------------
|
|
-- Workspace Rule
|
|
-------------------
|
|
hl.workspace_rule { workspace = 'w[tv1]s[false]', gaps_in = 0, gaps_out = 0, no_border = true, no_shadow = true, no_rounding = true }
|
|
hl.workspace_rule { workspace = 'f[1]s[false]', gaps_in = 0, gaps_out = 0, no_border = true, no_shadow = true, no_rounding = true }
|
|
|
|
for i = 1, 10 do
|
|
hl.workspace_rule { workspace = i, monitor = 'DP-1' }
|
|
end
|
|
hl.workspace_rule { workspace = 'name:ws_dp4', monitor = 'DP-4', default = true }
|
|
hl.workspace_rule {
|
|
workspace = 'n[s:ws_dp]',
|
|
|
|
layout = 'monocle',
|
|
gaps_in = 0, gaps_out = 0, float_gaps = 0, border_size = 0,
|
|
no_border = true, no_shadow = true, no_rounding = true,
|
|
decorate = false, persistent = false,
|
|
}
|
|
|
|
-------------------
|
|
-- Workspace Rule
|
|
-------------------
|
|
hl.layer_rule {
|
|
name = 'layer_waybar',
|
|
match = { namespace = '^waybar$|^launcher$' },
|
|
|
|
blur = true,
|
|
blur_popups = true,
|
|
}
|
|
|