awesome/rc.lua
changeset 16 b3c1a18fe12e
parent 15 73df43769340
child 17 171cba5d3e3a
equal deleted inserted replaced
15:73df43769340 16:b3c1a18fe12e
   387    my.make_single_key("Shift+Prior", "Send to Previous View",
   387    my.make_single_key("Shift+Prior", "Send to Previous View",
   388                       function ()
   388                       function ()
   389                          if client.focus then
   389                          if client.focus then
   390                             local tag = get_prev_tag(client.focus.screen)
   390                             local tag = get_prev_tag(client.focus.screen)
   391                             awful.client.movetotag(tag)
   391                             awful.client.movetotag(tag)
   392                             awful.tag.viewprev()
   392                             -- Follow the client.
       
   393                             -- if follow then awful.tag.viewprev()
   393                          end
   394                          end
   394    end),
   395    end),
   395    my.make_single_key("Shift+Next", "Send to Next View",
   396    my.make_single_key("Shift+Next", "Send to Next View",
   396                       function ()
   397                       function ()
   397                          if client.focus then
   398                          if client.focus then
   398                             local tag = get_next_tag(client.focus.screen)
   399                             local tag = get_next_tag(client.focus.screen)
   399                             awful.client.movetotag(tag)
   400                             awful.client.movetotag(tag)
   400                             awful.tag.viewnext()                            
   401                             -- Follow the client.
       
   402                             -- if follow then awful.tag.viewnext()             
   401                          end
   403                          end
   402    end),
   404    end),
   403 
   405 
   404    -- Client Navigation
   406    -- Client Navigation
   405    my.make_single_key("Right", "Right client", my.make_focus_bydirection("right")),
   407    my.make_single_key("Right", "Right client", my.make_focus_bydirection("right")),