diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-07-23 15:33:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-07-23 15:33:59 -0300 |
commit | 993caf6cedd80d63907883efa21d18387ed03430 (patch) | |
tree | f1e1cd735cfe0aa451a5ce16be0fa02f46afe5e7 | |
parent | 49e268b6d4b404ad8ba00617564f0ae4d76a03cf (diff) | |
download | awesome-993caf6cedd80d63907883efa21d18387ed03430.tar.gz awesome-993caf6cedd80d63907883efa21d18387ed03430.tar.bz2 |
Coding style
-rw-r--r-- | config.dot/awesome.link/rc.lua | 2 | ||||
-rw-r--r-- | 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 |----------------------------------------------------------------------- |