1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

lain: new commit

This commit is contained in:
Luke Bonham 2017-03-10 20:48:23 +01:00
parent 8950fcf4a3
commit 8332e6b751
3 changed files with 6 additions and 6 deletions

2
lain

@ -1 +1 @@
Subproject commit cc8de6a059757bc5ea3f8f7013db55ab3af924a5 Subproject commit 1ece7c35b7b119ebb1c1bef33d5c04507ff2f117

View file

@ -355,22 +355,22 @@ globalkeys = awful.util.table.join(
-- ALSA volume control -- ALSA volume control
awful.key({ altkey }, "Up", awful.key({ altkey }, "Up",
function () function ()
os.execute(string.format("amixer set %s 1%%+", beautiful.volume.channel)) os.execute(string.format("amixer -q set %s 1%%+", beautiful.volume.channel))
beautiful.volume.update() beautiful.volume.update()
end), end),
awful.key({ altkey }, "Down", awful.key({ altkey }, "Down",
function () function ()
os.execute(string.format("amixer set %s 1%%-", beautiful.volume.channel)) os.execute(string.format("amixer -q set %s 1%%-", beautiful.volume.channel))
beautiful.volume.update() beautiful.volume.update()
end), end),
awful.key({ altkey }, "m", awful.key({ altkey }, "m",
function () function ()
os.execute(string.format("amixer set %s toggle", beautiful.volume.togglechannel or beautiful.volume.channel)) os.execute(string.format("amixer -q set %s toggle", beautiful.volume.togglechannel or beautiful.volume.channel))
beautiful.volume.update() beautiful.volume.update()
end), end),
awful.key({ altkey, "Control" }, "m", awful.key({ altkey, "Control" }, "m",
function () function ()
os.execute(string.format("amixer set %s 100%%", beautiful.volume.channel)) os.execute(string.format("amixer -q set %s 100%%", beautiful.volume.channel))
beautiful.volume.update() beautiful.volume.update()
end), end),

View file

@ -98,7 +98,7 @@ theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/
local markup = lain.util.markup local markup = lain.util.markup
local separators = lain.util.separators local separators = lain.util.separators
-- Textclock -- Binary clock
local binclock = require("themes.powerarrow.binclock"){ local binclock = require("themes.powerarrow.binclock"){
height = 16, height = 16,
show_seconds = true, show_seconds = true,