aboutsummaryrefslogtreecommitdiff
path: root/rcsample.lua
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2011-08-21 22:22:21 +0300
committerAlexander Yakushev <yakushev.alex@gmail.com>2011-08-21 22:22:21 +0300
commit3132ea635414d25a5fb3e90be6cd71f920535849 (patch)
treeb040122a68121cbeb13b3b9e96f70e3f57478076 /rcsample.lua
parent6f9f313ba4503d0cd09aa06f3b88c69efaae7c13 (diff)
downloadawesompd-3132ea635414d25a5fb3e90be6cd71f920535849.tar.gz
awesompd-3132ea635414d25a5fb3e90be6cd71f920535849.tar.bz2
Renamed some menu functions for clarity
Diffstat (limited to 'rcsample.lua')
-rw-r--r--rcsample.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcsample.lua b/rcsample.lua
index 94c46af..336f2ef 100644
--- a/rcsample.lua
+++ b/rcsample.lua
@@ -124,7 +124,7 @@ mysystray = widget({ type = "systray" })
}
-- Set the buttons of the widget
- musicwidget:register_buttons({ { "", awesompd.MOUSE_LEFT, musicwidget:command_toggle() },
+ musicwidget:register_buttons({ { "", awesompd.MOUSE_LEFT, musicwidget:command_playpause() },
{ "Control", awesompd.MOUSE_SCROLL_UP, musicwidget:command_prev_track() },
{ "Control", awesompd.MOUSE_SCROLL_DOWN, musicwidget:command_next_track() },
{ "", awesompd.MOUSE_SCROLL_UP, musicwidget:command_volume_up() },