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.
88 lines
1.8 KiB
88 lines
1.8 KiB
----------------
|
|
-- Window Rule
|
|
----------------
|
|
hl.window_rule {
|
|
name = 'web_browser',
|
|
match = { class = '^helium$' },
|
|
|
|
workspace = 3,
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'games',
|
|
match = { class = '^steam$|^yuanshen.exe$|^steam_app_.*' },
|
|
|
|
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,
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'float_only',
|
|
match = { class = '^wechat$' },
|
|
|
|
float = true,
|
|
}
|
|
|
|
hl.window_rule {
|
|
name = 'for_floating',
|
|
match = { 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,
|
|
}
|
|
|