]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/rules.lua
dircolors: add kitty to solarized-dark theme
[dotfiles.git] / awesome / rules.lua
index e79494380af26bb88bd898ed9d6ad39b5c089054..5dfcba82cf17f5459465e4bd45bd63fc151f4eab 100644 (file)
@@ -28,14 +28,13 @@ awful.rules.rules = {
                      placement = awful.placement.no_overlap+awful.placement.no_offscreen } },
     { rule_any = {
         class = {
-            "Sensation Editor",
             "MPlayer",
             "pinentry",
             "mpv",
             "gimp",
         } },
       properties = { floating = true } },
-    { rule = { class = "URxvt", instance = "pulsemixer" },
+    { rule = { class = terminal_class, instance = "pulsemixer" },
       properties = { floating = true,
                      skip_taskbar = true,
                      ontop = true,
@@ -44,20 +43,10 @@ awful.rules.rules = {
                          s = awful.screen.focused()
                          c:connect_signal("unfocus", function (c) c:kill() end)
                      end } },
-    { rule = { class = "URxvt"},
-      properties = { opacity = 0.8 } },
-    { rule = { class = "URxvt", instance = "mutt" },
-      properties = { tag = wwwtag,
-                     function (c) awful.client.setslave(c) end } },
-    { rule = { class = "URxvt", instance = "ncmpcpp" },
-      properties = { tag = mediatag,
-                     function (c) awful.client.setmaster(c) end } },
-    { rule = { class = "URxvt", instance = "mopidy" },
-      properties = { tag = mediatag,
-                     function (c) awful.client.setmaster(c) end } },
-    { rule = { class = "URxvt", instance = "weechat" },
-      properties = { tag = imtag,
-                     function (c) awful.client.setmaster(c) end } },
-    { rule = { class = "Steam" },
+    { rule = { class = "Wine"},
+      properties = { floating = true } },
+    { rule = { class = terminal_class },
+      properties = { opacity = 0.9 } },
+    { rule_any = { class = { "Steam", "steam" } },
       properties = { tag = tags[1][9] } },
 }