1
0
Fork 0

get rid of treesome, I never use it anyway, but enable magnifier layout because useful

This commit is contained in:
Von Random 2015-08-14 18:47:26 +03:00
parent 532277ae73
commit a449de8cec

14
rc.lua
View file

@ -11,8 +11,6 @@ local beautiful = require('beautiful')
-- Notification library -- Notification library
local naughty = require('naughty') local naughty = require('naughty')
local menubar = require('menubar') local menubar = require('menubar')
-- Treesome layout module: https://github.com/RobSis/treesome
local treesome = require('treesome')
-- }}} -- }}}
-- {{{ Custom functions -- {{{ Custom functions
-- test if file exists -- test if file exists
@ -129,10 +127,8 @@ local layouts = {
float = { float = {
awful.layout.suit.floating awful.layout.suit.floating
}, },
spiral = { magnifier = {
treesome, awful.layout.suit.magnifier
awful.layout.suit.spiral,
awful.layout.suit.spiral.dwindle
}, },
-- Some weird shit I don't use, but it still exists: -- Some weird shit I don't use, but it still exists:
@ -141,8 +137,9 @@ local layouts = {
awful.layout.suit.fair, awful.layout.suit.fair,
awful.layout.suit.fair.horizontal awful.layout.suit.fair.horizontal
}, },
magnifier = { spiral = {
awful.layout.suit.magnifier awful.layout.suit.spiral,
awful.layout.suit.spiral.dwindle
} }
} }
-- }}} -- }}}
@ -432,6 +429,7 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, 'Control' }, 'h', function () awful.tag.incncol( 1) end), awful.key({ modkey, 'Control' }, 'h', function () awful.tag.incncol( 1) end),
awful.key({ modkey, 'Control' }, 'l', function () awful.tag.incncol(-1) end), awful.key({ modkey, 'Control' }, 'l', function () awful.tag.incncol(-1) end),
awful.key({ modkey, }, 'f', function () awful.layout.set(layouts.float[1]) end), awful.key({ modkey, }, 'f', function () awful.layout.set(layouts.float[1]) end),
awful.key({ modkey, }, 'g', function () awful.layout.set(layouts.magnifier[1]) end),
awful.key({ modkey, }, 'm', awful.key({ modkey, }, 'm',
function () function ()
local screen = mouse.screen local screen = mouse.screen