some runtime changes, nothing major
This commit is contained in:
parent
b4896eac10
commit
75c97eac8b
1 changed files with 9 additions and 11 deletions
20
rc.lua
20
rc.lua
|
@ -456,13 +456,6 @@ clientkeys = awful.util.table.join(
|
||||||
awful.key({ modkey, 'Shift' }, 'c', function (c) c:kill() end),
|
awful.key({ modkey, 'Shift' }, 'c', function (c) c:kill() end),
|
||||||
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, 'Shift' }, 'o', awful.client.movetoscreen ),
|
awful.key({ modkey, 'Shift' }, 'o', awful.client.movetoscreen ),
|
||||||
-- TODO: swap tags between screens
|
|
||||||
awful.key({ modkey, }, ',',
|
|
||||||
function(c)
|
|
||||||
if screen.count() == 2 then
|
|
||||||
end
|
|
||||||
end
|
|
||||||
),
|
|
||||||
awful.key({ modkey, }, 'n', function (c) c.minimized = true end),
|
awful.key({ modkey, }, 'n', function (c) c.minimized = true end),
|
||||||
|
|
||||||
-- Window properties
|
-- Window properties
|
||||||
|
@ -606,9 +599,7 @@ awful.rules.rules = {
|
||||||
{
|
{
|
||||||
rule_any = {
|
rule_any = {
|
||||||
class = {
|
class = {
|
||||||
'Roxterm',
|
'Roxterm'
|
||||||
'URxvt',
|
|
||||||
'Xfce4-terminal'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
properties = { size_hints_honor = false }
|
properties = { size_hints_honor = false }
|
||||||
|
@ -756,7 +747,14 @@ client.connect_signal(
|
||||||
---- set keyboard layouts
|
---- set keyboard layouts
|
||||||
awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,grp_led:scroll,compose:menu')
|
awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,grp_led:scroll,compose:menu')
|
||||||
---- populate xrdb with .Xresources config
|
---- populate xrdb with .Xresources config
|
||||||
awful.util.spawn_with_shell('xrdb /home/von/.Xresources')
|
if exists('/home/von/.Xresources') then
|
||||||
|
awful.util.spawn_with_shell('xrdb /home/von/.Xresources')
|
||||||
|
end
|
||||||
|
---- fix lack of terminus font
|
||||||
|
if exists('/home/von/.fonts/terminus') then
|
||||||
|
awful.util.spawn_with_shell('xset fp- /home/von/.fonts/terminus/PCF')
|
||||||
|
awful.util.spawn_with_shell('xset fp+ /home/von/.fonts/terminus/PCF')
|
||||||
|
end
|
||||||
---- execute all the other shit, installation specific
|
---- execute all the other shit, installation specific
|
||||||
if exists('/home/von/.autostart') then
|
if exists('/home/von/.autostart') then
|
||||||
awful.util.spawn_with_shell('/home/von/.autostart')
|
awful.util.spawn_with_shell('/home/von/.autostart')
|
||||||
|
|
Loading…
Reference in a new issue