From 993caf6cedd80d63907883efa21d18387ed03430 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 23 Jul 2015 15:33:59 -0300 Subject: Coding style --- config.dot/awesome.link/rc.lua | 2 +- config.dot/awesome.link/widgets.lua | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config.dot/awesome.link/rc.lua b/config.dot/awesome.link/rc.lua index c7928f6..f7daa40 100644 --- a/config.dot/awesome.link/rc.lua +++ b/config.dot/awesome.link/rc.lua @@ -23,7 +23,7 @@ require("debian.menu") -- Variables dofile(configdir .. "/variables.lua") --- Themes define colours, icons, and wallpapers +-- Load theme beautiful.init(themes_dir .. "/powerarrow/theme.lua") -- Misc functions diff --git a/config.dot/awesome.link/widgets.lua b/config.dot/awesome.link/widgets.lua index a45dfbf..d6ee20a 100644 --- a/config.dot/awesome.link/widgets.lua +++ b/config.dot/awesome.link/widgets.lua @@ -36,13 +36,13 @@ function () awful.util.spawn_with_shell(mailmutt) end))) music = widget ({type = "imagebox" }) music.image = image(beautiful.widget_music) music:buttons(awful.util.table.join( - awful.button({ }, 1, function () awful.util.spawn_with_shell(musicplr) end), + awful.button({ }, 1, function () awful.util.spawn_with_shell(musicplr) end), awful.button({ modkey }, 1, function () awful.util.spawn_with_shell("ncmpcpp toggle") end), - awful.button({ }, 3, function () couth.notifier:notify( couth.alsa:setVolume('Master','toggle')) end), - awful.button({ }, 4, function () couth.notifier:notify( couth.alsa:setVolume('PCM','2dB+')) end), - awful.button({ }, 5, function () couth.notifier:notify( couth.alsa:setVolume('PCM','2dB-')) end), - awful.button({ }, 4, function () couth.notifier:notify( couth.alsa:setVolume('Master','2dB+')) end), - awful.button({ }, 5, function () couth.notifier:notify( couth.alsa:setVolume('Master','2dB-')) end))) + awful.button({ }, 3, function () couth.notifier:notify( couth.alsa:setVolume('Master','toggle')) end), + awful.button({ }, 4, function () couth.notifier:notify( couth.alsa:setVolume('PCM','2dB+')) end), + awful.button({ }, 5, function () couth.notifier:notify( couth.alsa:setVolume('PCM','2dB-')) end), + awful.button({ }, 4, function () couth.notifier:notify( couth.alsa:setVolume('Master','2dB+')) end), + awful.button({ }, 5, function () couth.notifier:notify( couth.alsa:setVolume('Master','2dB-')) end))) --{{---| TaskWarrior widget |----------------------------------------------------------------------- -- cgit v1.2.3