Update themes/powerarrow-dark/theme.lua
1. On 'modkey' used on line 140 hasn't been declared before, therefore the function won't be executed. 2. Change awful.spawn.with_shell() to awful.spawn()
This commit is contained in:
parent
e6f3a2b64f
commit
270b1447f6
|
@ -137,7 +137,7 @@ theme.mail = lain.widget.imap({
|
|||
local musicplr = awful.util.terminal .. " -title Music -g 130x34-320+16 -e ncmpcpp"
|
||||
local mpdicon = wibox.widget.imagebox(theme.widget_music)
|
||||
mpdicon:buttons(my_table.join(
|
||||
awful.button({ modkey }, 1, function () awful.spawn.with_shell(musicplr) end),
|
||||
awful.button({ "Mod4" }, 1, function () awful.spawn(musicplr) end),
|
||||
awful.button({ }, 1, function ()
|
||||
os.execute("mpc prev")
|
||||
theme.mpd.update()
|
||||
|
|
Loading…
Reference in New Issue