unexist.dev

Changeset 359:5da708c9ed8b

Updated tags in xbmc command
author unexist
date Wed, 08 Jun 2011 14:24:57 +0200
parents bced75145104
children edd6d7742613
files .config/subtle/subtle.rb
diffstat 1 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/.config/subtle/subtle.rb	Wed Jun 01 16:52:49 2011 +0200
+++ b/.config/subtle/subtle.rb	Wed Jun 08 14:24:57 2011 +0200
@@ -36,7 +36,7 @@
 #set :font,     "xft:Ubuntu R:pixelsize=13"
 #set :font,     "xft:DejaVu Sans Mono:pixelsize=12:antialias=true"
 set :separator, "ยท"
-#set :wmname,    "LG3D"
+set :wmname,    "LG3D"
 # }}}
 
 # Screens {{{
@@ -166,8 +166,8 @@
 gravity :gimp_toolbox,   [   0,   0,  10, 100 ]
 gravity :gimp_dock,      [  90,   0,  10, 100 ]
 
-gravity :dia_toolbox,    [   0,   0, 100,  15 ]
-gravity :dia_window,     [   0,  15, 100,  85 ]
+gravity :dia_toolbox,    [   0,   0,  15, 100 ]
+gravity :dia_window,     [  15,   0,  85, 100 ]
 # }}}
 
 # Grabs {{{
@@ -294,7 +294,7 @@
   # Find stuff
   tag            = Subtlext::Tag["editor"]
   urxvt1, urxvt2, editor =
-    [ "urxvt1", "urxvt2", "editor" ].map { |name| Subtlext::Client[name] }
+    [ "urxvt1", "urxvt2", "gvim" ].map { |name| Subtlext::Client[name] }
 
   # Add tags
   urxvt1 + tag
@@ -393,6 +393,11 @@
   stick true
 end
 
+tag "pms" do
+  match "net-pms-PMS"
+  resize true
+end
+
 tag "dialogs" do
   match :type => [ :dialog, :splash ]
   stick true
@@ -508,7 +513,7 @@
 end
 
 view "void" do
-  match     "default|void|powerfolder"
+  match     "default|void|powerfolder|pms"
   icon      "#{iconpath}/quote.xbm"
   icon_only icons
 end
@@ -545,9 +550,10 @@
 end
 # }}}
 
+# Commands {{{
 def xbmc
   Subtlext::Screen[0].view = :terms
   Subtlext::Screen[1].view = :browser
 
   Subtlext::Subtle.spawn("xinit xbmc -- :3")
-end
+end # }}}