summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--func/tagnames.lua2
-rw-r--r--rc.lua2
-rw-r--r--rules.lua6
3 files changed, 8 insertions, 2 deletions
diff --git a/func/tagnames.lua b/func/tagnames.lua
index 75284ed..0274b7e 100644
--- a/func/tagnames.lua
+++ b/func/tagnames.lua
@@ -23,7 +23,7 @@ function nametagc_t(t, c)
for _, c in ipairs(cs) do
for _, ct in ipairs(c:tags()) do
if ct == t then
- nametag(t, c.class)
+ nametag(t, c.newclass or c.class)
return
end
end
diff --git a/rc.lua b/rc.lua
index 8f44cb5..d707c93 100644
--- a/rc.lua
+++ b/rc.lua
@@ -23,7 +23,7 @@ require("keybindings")
require("rules")
require("func.noborders")
require("func.sloppyfocus")
-require("func.warpcursor")
+--require("func.warpcursor")
require("func.tagnames")
--require("widgets.audio")
diff --git a/rules.lua b/rules.lua
index 0a5af26..795e8df 100644
--- a/rules.lua
+++ b/rules.lua
@@ -31,6 +31,12 @@ awful.rules.rules = {
}},
properties = { warp_cursor = true, }
},
+ {
+ rule = { class = "st-256color" },
+ properties = {
+ newclass = "st",
+ }
+ },
-- KeePassXC rules
{
rule = { class = "KeePassXC" },