Awesome: sync clipboards with clipit

This commit is contained in:
2013-10-23 00:32:49 +03:00
parent df96f316bf
commit bc54b627f0
4 changed files with 28 additions and 1 deletions

View File

@@ -13,3 +13,4 @@ xterm*utf8Title: true
xterm*allowC1Printable: true
xterm*locale: true
xterm*metaSendsEscape: true
!xterm*VT100.translations: #override <Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)

View File

@@ -93,6 +93,30 @@ externals.sounds.alsa = {
}
--}}}
--{{{ sounds.pulse
externals.sounds.pulse = {
exec = function(command)
exec('amixer -q ' .. command)
end,
manager = function()
conexec('alsamixer')
end,
mute = function()
externals.sounds.alsa.exec('set ' .. externals.sound.channel .. ' toggle')
end,
up = function()
externals.sounds.alsa.exec('set ' .. externals.sound.channel .. ' 2dB+')
end,
down = function()
externals.sounds.alsa.exec('set ' .. externals.sound.channel .. ' 2dB-')
end
}
--}}}
--{{{ powers.pm
externals.powers.pm = {
exec = function(command)

View File

@@ -110,7 +110,7 @@ tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
tags[s] = awful.tag(
{ "1:term", "2:bw", "3:vim", "4:skype", "5:IM", "6:vbox", 7, }, s,
{ "1:term", "2:bw", "3:vim", "4:skype", "5:IM", "6:vbox", 7, }, s,
{ layouts[7], layouts[10], layouts[10], layouts[7], layouts[10], layouts[10], layouts[10] }
)
end

View File

@@ -16,5 +16,7 @@ redshift &!
skype &!
chromium &!
psi-plus &!
nm-applet &!
clipit &!
exec awesome