1
0
Fork 0

another dose of changes, rc.lua and vimrc

This commit is contained in:
Von Random 2014-10-15 19:35:48 +04:00
parent dc9a851079
commit cebf70e2e5
3 changed files with 21 additions and 21 deletions

26
rc.lua
View file

@ -114,22 +114,17 @@ for s = 1, screen.count() do
end end
-- screen 1 -- screen 1
--tags[1].name = { --tags[1].name = {
-- [1] = '1:browser', -- [1] = 'example',
-- [2] = '2:terminal', -- [9] = 'example2'
-- [3] = '3:terminal',
-- [4] = '4:float',
-- [9] = '9:mail'
--} --}
tags[1].layout = { tags[1].layout = {
[1] = layouts[2], [1] = layouts[2],
[2] = layouts[4],
[4] = layouts[1], [4] = layouts[1],
[5] = layouts[1] [5] = layouts[1]
} }
-- screens 2+ -- screens 2+
if screen.count() >= 2 then if screen.count() >= 2 then
--tags[2].name = {
-- [3] = '3:float',
--}
tags[2].layout = { tags[2].layout = {
[3] = layouts[1] [3] = layouts[1]
} }
@ -320,11 +315,12 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, 'i', function () client.focus:raise() end), awful.key({ modkey, }, 'i', function () client.focus:raise() end),
awful.key({ modkey, }, 'w', function () mymainmenu:show() end), awful.key({ modkey, }, 'w', function () mymainmenu:show() end),
-- Switch between screens
awful.key({ modkey, }, 'o', function () awful.screen.focus_relative(1) end),
-- Layout manipulation -- Layout manipulation
awful.key({ modkey, 'Shift' }, 'j', function () awful.client.swap.byidx(1) end), awful.key({ modkey, 'Shift' }, 'j', function () awful.client.swap.byidx(1) end),
awful.key({ modkey, 'Shift' }, 'k', function () awful.client.swap.byidx(-1) end), awful.key({ modkey, 'Shift' }, 'k', function () awful.client.swap.byidx(-1) end),
awful.key({ modkey, 'Control' }, 'j', function () awful.screen.focus_relative(1) end),
awful.key({ modkey, 'Control' }, 'k', function () awful.screen.focus_relative(-1) end),
awful.key({ modkey, }, 'u', awful.client.urgent.jumpto), awful.key({ modkey, }, 'u', awful.client.urgent.jumpto),
-- Mod#+Tab hotkeys -- Mod#+Tab hotkeys
@ -394,14 +390,16 @@ globalkeys = awful.util.table.join(
) )
clientkeys = awful.util.table.join( clientkeys = awful.util.table.join(
awful.key({ 'Mod1', }, 'Return', function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, 'Shift' }, 'c', function (c) c:kill() end), awful.key({ modkey, 'Shift' }, 'c', function (c) c:kill() end),
awful.key({ modkey, 'Shift' }, 'f', awful.client.floating.toggle ),
awful.key({ modkey, }, 'Return', function (c) c:swap(awful.client.getmaster()) end), awful.key({ modkey, }, 'Return', function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, 'o', awful.client.movetoscreen ), awful.key({ modkey, 'Shift' }, 'o', awful.client.movetoscreen ),
awful.key({ modkey, }, 'n', function (c) c.minimized = true end),
-- Window properties
awful.key({ 'Mod1', }, 'Return', function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, 'Shift' }, 't', function (c) c.ontop = not c.ontop end), awful.key({ modkey, 'Shift' }, 't', function (c) c.ontop = not c.ontop end),
awful.key({ modkey, 'Shift' }, 's', function (c) c.sticky = not c.sticky end), awful.key({ modkey, 'Shift' }, 's', function (c) c.sticky = not c.sticky end),
awful.key({ modkey, }, 'n', function (c) c.minimized = true end), awful.key({ modkey, 'Shift' }, 'f', awful.client.floating.toggle ),
awful.key({ modkey, 'Shift' }, 'm', awful.key({ modkey, 'Shift' }, 'm',
function (c) function (c)
c.maximized_horizontal = not c.maximized_horizontal c.maximized_horizontal = not c.maximized_horizontal

7
vimrc
View file

@ -90,15 +90,16 @@ endif
" set color scheme depending on the terminal capabilities " set color scheme depending on the terminal capabilities
if &t_Co > 88 || has("gui_running") if &t_Co > 88 || has("gui_running")
colorscheme solarized "colorscheme solarized
colorscheme jellybeans
else else
colorscheme elflord colorscheme elflord
endif endif
" gvim stuff " gvim stuff
if has("gui_running") if has("gui_running")
let g:solarized_italic=0 "let g:solarized_italic=0
let g:solarized_bold=0 "let g:solarized_bold=0
set guioptions=aegimLl set guioptions=aegimLl
set mouse=a set mouse=a
set guifont=Terminus\ 11 set guifont=Terminus\ 11

View file

@ -18,6 +18,7 @@ URxvt.visualBell: true
URxvt.urgentOnBell: true URxvt.urgentOnBell: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true
URxvt.termName: rxvt-unicode-256color URxvt.termName: rxvt-unicode-256color
URxvt.fading: 0
! icon (needs pixbuf support compiled) ! icon (needs pixbuf support compiled)
URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg