changeset 482:93ac94dc3feb

Updated config
author unexist
date Thu, 29 Nov 2018 09:25:32 +0100
parents cf4d3323ee1b
children 42c6bdaeeeaa
files .config/subtle/subtle.rb
diffstat 1 files changed, 10 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/.config/subtle/subtle.rb	Wed Nov 28 13:26:08 2018 +0100
+++ b/.config/subtle/subtle.rb	Thu Nov 29 09:25:32 2018 +0100
@@ -32,6 +32,7 @@
 set :gravity_tiling,    false
 #set :click_to_focus,    false
 set :skip_pointer_warp, false
+set :wmname,            "LG3D"
 #  }}}
 
 #  Styles {{{
@@ -183,7 +184,7 @@
  WindowUp:   [ "Up",   "k" ], WindowRight: [ "Right", "l" ]
 }.each do |k, v|
   grab "%s-%s" % [ modkey, v.first ], k
-  grab "%s-%s" % [ modkey, v.last  ], k
+  #grab "%s-%s" % [ modkey, v.last  ], k
 end
 
 # Reload/restart
@@ -229,12 +230,6 @@
 grab "XF86AudioMute",        :VolumeToggle
 grab "XF86AudioRaiseVolume", :VolumeRaise
 grab "XF86AudioLowerVolume", :VolumeLower
-grab "XF86AudioPlay",        :MpdToggle
-grab "XF86AudioStop",        :MpdStop
-grab "XF86AudioNext",        :MpdNext
-grab "XF86AudioPrev",        :MpdPrevious
-
-grab modkey + "-m", "mpc current | tr -d '\n' | xclip"
 
 # Programs
 grab modkey + "-Return", "urxvt"
@@ -242,18 +237,19 @@
 grab modkey + "-n", "nvim-qt"
 grab modkey + "-f", "firefox -no-remote -profileManager"
 grab modkey + "-c", "chromium"
+grab modkey + "-l", "slock"
 
 # Contrib
-grab "W-x" do
+grab modkey + "-x" do
   Subtle::Contrib::Launcher.run
 end
 
-grab "W-z" do
+grab modkey + "-z" do
   Subtle::Contrib::Selector.run
 end
 
 # Scratchpad
-grab "W-y" do
+grab modkey + "-y" do
   if (c = Subtlext::Client.first("scratch"))
     c.toggle_stick
     c.focus
@@ -427,9 +423,8 @@
   set :sticky, :urgent, :floating
 end
 
-tag "powerfolder" do
-  match "de-dal33t-powerfolder-PowerFolder"
-  set   :floating, :sticky
+tag "postman" do
+  match "postman"
 end
 
 tag "dialogs" do
@@ -478,7 +473,7 @@
 end
 
 view "void" do
-  match     "default|void|powerfolder|pms"
+  match     "default|void"
   icon      diamond
   set       :icons_only
 end
@@ -490,7 +485,7 @@
 end
 
 view "test" do
-  match     "xeph[0-9]+|seven|one"
+  match     "xeph[0-9]+|postman"
   icon      diamond
   set       :icons_only
 end