style: re-format
This commit is contained in:
+38
-38
@@ -1,47 +1,47 @@
|
||||
local M = {}
|
||||
|
||||
M.window_rules = {
|
||||
{
|
||||
name = "floating-utils",
|
||||
match = {
|
||||
class = "^(pavucontrol|blueman-manager|nm-connection-editor|qalculate-gtk|xdg-desktop-portal-gtk)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "floating-mathematica",
|
||||
match = {
|
||||
title = "^(Mathematica|WolframNB)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "transparent-vscode",
|
||||
match = {
|
||||
class = "^(code|code-url-handler)$",
|
||||
},
|
||||
opacity = "0.8",
|
||||
},
|
||||
{
|
||||
name = "floating-social-apps",
|
||||
match = {
|
||||
class = "^(QQ|wechat)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "floating-download-manager",
|
||||
match = {
|
||||
class = "^(fdm)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "floating-utils",
|
||||
match = {
|
||||
class = "^(pavucontrol|blueman-manager|nm-connection-editor|qalculate-gtk|xdg-desktop-portal-gtk)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "floating-mathematica",
|
||||
match = {
|
||||
title = "^(Mathematica|WolframNB)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "transparent-vscode",
|
||||
match = {
|
||||
class = "^(code|code-url-handler)$",
|
||||
},
|
||||
opacity = "0.8",
|
||||
},
|
||||
{
|
||||
name = "floating-social-apps",
|
||||
match = {
|
||||
class = "^(QQ|wechat)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
{
|
||||
name = "floating-download-manager",
|
||||
match = {
|
||||
class = "^(fdm)$",
|
||||
},
|
||||
float = true,
|
||||
},
|
||||
}
|
||||
|
||||
function M.load()
|
||||
for _, rule in ipairs(M.window_rules) do
|
||||
hl.window_rule(rule)
|
||||
end
|
||||
for _, rule in ipairs(M.window_rules) do
|
||||
hl.window_rule(rule)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user