mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-25 03:08:34 +02:00
uxrvt: put URxvt class into a configuration variable
This commit is contained in:
parent
9420b74c08
commit
92d23f4153
3 changed files with 3 additions and 2 deletions
1
rc.lua
1
rc.lua
|
@ -46,6 +46,7 @@ os.execute("test -d " .. awful.util.getdir("cache") ..
|
|||
modkey = "Mod4"
|
||||
config = {}
|
||||
config.terminal = "urxvtcd --perl-lib " .. awful.util.getdir("config") .. "/lib/rxvt"
|
||||
config.termclass = "URxvt"
|
||||
config.layouts = {
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.tile.left,
|
||||
|
|
|
@ -36,7 +36,7 @@ awful.rules.rules = {
|
|||
properties = { }, callback = awful.client.setslave },
|
||||
-- Should not be master
|
||||
{ rule_any = { class =
|
||||
{ "URxvt",
|
||||
{ config.termclass,
|
||||
"Transmission-gtk",
|
||||
"Keepassx",
|
||||
}, instance = { "Download" }},
|
||||
|
|
|
@ -61,7 +61,7 @@ shifty.config.apps = {
|
|||
tag = "im",
|
||||
},
|
||||
{
|
||||
match = { "URxvt" },
|
||||
match = { config.termclass },
|
||||
startup = {
|
||||
tag = "xterm"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue