90 lines
2.2 KiB
Lua
90 lines
2.2 KiB
Lua
local awful = require("awful")
|
|
local beautiful = require("beautiful")
|
|
|
|
awful.rules.rules = {
|
|
-- All clients will match this rule.
|
|
{
|
|
rule = {},
|
|
properties = {
|
|
border_width = 0,
|
|
border_color = beautiful.border_normal,
|
|
focus = awful.client.focus.filter,
|
|
keys = clientkeys,
|
|
buttons = clientbuttons,
|
|
screen = awful.screen.preferred,
|
|
placement = awful.placement.no_overlap + awful.placement.no_offscreen + awful.placement.centered
|
|
}
|
|
},
|
|
-- Floating clients.
|
|
{
|
|
rule_any = {
|
|
instance = {
|
|
},
|
|
class = {
|
|
"anbox",
|
|
"Arandr",
|
|
"Blueman-manager",
|
|
"Tor Browser",
|
|
"Pavucontrol",
|
|
"qpaeq",
|
|
"qalculate-gtk",
|
|
"Qalculate-gtk",
|
|
"matplotlib",
|
|
"Matplotlib",
|
|
},
|
|
name = {
|
|
"Event Tester",
|
|
"GLava",
|
|
"Conky",
|
|
"eww-wrapper",
|
|
},
|
|
role = {
|
|
}
|
|
},
|
|
properties = {floating = true},
|
|
},
|
|
-- Music Visualizer
|
|
{
|
|
rule_any = {
|
|
name = {
|
|
"GLava"
|
|
},
|
|
},
|
|
properties = {
|
|
below = true,
|
|
sticky = true,
|
|
skip_taskbar = true,
|
|
titlebars_enabled = false,
|
|
requests_no_titlebar = true,
|
|
focusable = false,
|
|
placement = awful.placement.maximize
|
|
}
|
|
},
|
|
-- Conky Position
|
|
{
|
|
rule_any = {
|
|
name = {
|
|
"conky (eirene)",
|
|
},
|
|
},
|
|
properties = {
|
|
below = true,
|
|
sticky = true,
|
|
skip_taskbar = true,
|
|
titlebars_enabled = false,
|
|
requests_no_titlebar = true,
|
|
focusable = false
|
|
}
|
|
},
|
|
-- Looking Glass always fullscreen
|
|
{
|
|
rule_any = {
|
|
name = {
|
|
"Looking Glass (client)"
|
|
},
|
|
},
|
|
properties = {
|
|
fullscreen = true
|
|
}
|
|
}
|
|
} |