This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dotfiles/.config/awesome/rules/init.lua
Nikolaos Karaolidis 0e0acc03d6 Update script names
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2023-10-03 14:44:07 +01:00

121 lines
2.7 KiB
Lua

local awful = require("awful")
local beautiful = require("beautiful")
awful.rules.rules = {
-- All clients
{
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 = {
"Arandr",
"Blueman-manager",
"Tor Browser",
"Pavucontrol",
"qpaeq",
"qalculate-gtk",
"Qalculate-gtk",
"matplotlib",
"Matplotlib",
},
name = {
"Event Tester",
"GLava",
"Conky",
"eww-wrapper",
"Emulator",
"File Operation Progress",
},
},
properties = {
floating = true,
},
},
-- Fullscreen clients
{
rule_any = {
name = {
"Looking Glass (client)"
},
},
properties = {
fullscreen = true
}
},
-- Ontop clients
{
rule_any = {
class = {
"qalculate-gtk",
"Qalculate-gtk",
"Emulator",
},
name = {
"File Operation Progress",
},
},
properties = {
ontop = true
}
},
-- Always Visible
{
rule_any = {
name = {
"Picture-in-Picture",
},
},
properties = {
ontop = true,
sticky = true,
floating = true,
}
},
-- Music Visualizer
{
rule_any = {
name = {
"GLava"
},
},
properties = {
below = true,
sticky = true,
skip_taskbar = true,
titlebars_enabled = false,
requests_no_titlebar = true,
focusable = true,
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
}
}
}