summaryrefslogtreecommitdiff
path: root/awesome/rules.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-11 20:43:20 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-11 20:43:20 -0500
commitce020ab718b0ea09224dd15fc9a5796b3acc7904 (patch)
tree5d1ab3fb93f85d6fbf1b9fe84dfcd3484ce6ef33 /awesome/rules.lua
parent5e84a09eb67772b07a73102538d2445ecb403613 (diff)
downloaddotconfig-ce020ab718b0ea09224dd15fc9a5796b3acc7904.tar.xz
dotconfig-ce020ab718b0ea09224dd15fc9a5796b3acc7904.zip
overhaul awesome
Diffstat (limited to 'awesome/rules.lua')
-rw-r--r--awesome/rules.lua31
1 files changed, 18 insertions, 13 deletions
diff --git a/awesome/rules.lua b/awesome/rules.lua
index 3f57080..8655541 100644
--- a/awesome/rules.lua
+++ b/awesome/rules.lua
@@ -1,10 +1,11 @@
local awful = require("awful")
local beautiful = require("beautiful")
--- Rules to apply to new clients (through the "manage" signal).
+-- Rules to apply to new clients (through the "manage" signal)
awful.rules.rules = {
- -- All clients will match this rule.
- { rule = { },
+ -- All clients will match this rule
+ {
+ rule = { },
properties = {
border_width = beautiful.border_width,
border_color = beautiful.border_normal,
@@ -17,18 +18,21 @@ awful.rules.rules = {
prevent_kill = false,
}
},
- -- warp cursor
- { rule_any = { class = {
- "Chromium-browser",
- "Firefox",
- "Firefox-esr",
- "Gimp",
- "KeePassXC",
- "Pcmanfm",
+ -- Warp cursor
+ {
+ rule_any = { class = {
+ "Chromium-browser",
+ "Firefox",
+ "Firefox-esr",
+ "Gimp",
+ "KeePassXC",
+ "Pcmanfm",
}},
properties = { warp_cursor = true, }
},
- { rule = { class = "KeePassXC" },
+ -- KeePassXC rules
+ {
+ rule = { class = "KeePassXC" },
-- except = { name = "Unlock Database - KeePassXC" }, -- Not needed
properties = {
new_tag = {
@@ -39,7 +43,8 @@ awful.rules.rules = {
-- callback = function(c) c.first_tag.icon = c.icon end
}
},
- { rule_any = { name = { "Unlock Database - KeePassXC", "KeePassXC - Browser Access Request" } },
+ {
+ rule_any = { name = { "Unlock Database - KeePassXC", "KeePassXC - Browser Access Request" } },
properties = {
screen = awful.screen.focused(),
floating = true,