summaryrefslogtreecommitdiff
path: root/awesome/rules.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-17 22:32:17 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-17 22:32:17 -0500
commitdf86f7b92a3d0985d6d8c9ab1d027eeddb7b0443 (patch)
treeb5e27ebd0cea42abee2b3ef0981087cd2c3a57eb /awesome/rules.lua
parent572382a9ce99162bd93d2d6e3fd789f2c99bf420 (diff)
downloaddotconfig-df86f7b92a3d0985d6d8c9ab1d027eeddb7b0443.tar.xz
dotconfig-df86f7b92a3d0985d6d8c9ab1d027eeddb7b0443.zip
remove awesome config, push to own repo
Diffstat (limited to 'awesome/rules.lua')
-rw-r--r--awesome/rules.lua56
1 files changed, 0 insertions, 56 deletions
diff --git a/awesome/rules.lua b/awesome/rules.lua
deleted file mode 100644
index 8655541..0000000
--- a/awesome/rules.lua
+++ /dev/null
@@ -1,56 +0,0 @@
-local awful = require("awful")
-local beautiful = require("beautiful")
-
--- Rules to apply to new clients (through the "manage" signal)
-awful.rules.rules = {
- -- All clients will match this rule
- {
- rule = { },
- properties = {
- border_width = beautiful.border_width,
- border_color = beautiful.border_normal,
- focus = awful.client.focus.filter,
- raise = true,
- keys = clientkeys,
- buttons = clientbuttons,
- screen = awful.screen.preferred,
- placement = awful.placement.no_overlap+awful.placement.no_offscreen,
- prevent_kill = false,
- }
- },
- -- Warp cursor
- {
- rule_any = { class = {
- "Chromium-browser",
- "Firefox",
- "Firefox-esr",
- "Gimp",
- "KeePassXC",
- "Pcmanfm",
- }},
- properties = { warp_cursor = true, }
- },
- -- KeePassXC rules
- {
- rule = { class = "KeePassXC" },
- -- except = { name = "Unlock Database - KeePassXC" }, -- Not needed
- properties = {
- new_tag = {
- name = "KeePassXC",
- layout = awful.layout.suit.max,
- volatile = true,
- },
- -- callback = function(c) c.first_tag.icon = c.icon end
- }
- },
- {
- rule_any = { name = { "Unlock Database - KeePassXC", "KeePassXC - Browser Access Request" } },
- properties = {
- screen = awful.screen.focused(),
- floating = true,
- placement = awful.placement.centered,
- -- tags = awful.screen.focused().selected_tags, -- For some reason, this doesn't work
- callback = function(c) c:tags(awful.screen.focused().selected_tags) end -- But this does
- }
- },
-}