changeset 487:7c657de5a09e

Updated tags and views
author unexist
date Tue, 11 Dec 2018 10:26:08 +0100
parents f3ada1b58fbb
children fb264348ba0d
files .config/subtle/subtle.rb
diffstat 1 files changed, 18 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.config/subtle/subtle.rb	Mon Dec 10 11:44:55 2018 +0100
+++ b/.config/subtle/subtle.rb	Tue Dec 11 10:26:08 2018 +0100
@@ -384,7 +384,7 @@
 end
 
 tag "editor" do
-  match  "[ng]?vim"
+  match  "[ng]?vim|intellij"
   set    :resize
   gravity :center
 end
@@ -414,10 +414,6 @@
   set :sticky, :urgent, :floating
 end
 
-tag "postman" do
-  match "postman"
-end
-
 tag "dialogs" do
   match "sun-awt-X11-XDialogPeer"
   set   :sticky
@@ -443,8 +439,23 @@
   end
 end
 
+tag "javastuff" do
+  match "sun-awt-X11-XFramePeer"
+
+  on_match do |c|
+    case c.name
+      when /intellij/i
+        c.tag "editor"
+      when /dashboard/i
+        c.tag "test"
+    end
+  end
+end
+
 tag "inkscape", "inkscape"
-tag "slack", "slack"
+tag "test" do
+  match "postman"
+end
 # }}}
 
 # Views {{{
@@ -475,7 +486,7 @@
 end
 
 view "test" do
-  match     "xeph[0-9]+|postman"
+  match     "xeph[0-9]+|test"
   icon      diamond
   set       :icons_only
 end