]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/widgets/awesompd.lua
vim: add choice snippet for sh
[dotfiles.git] / awesome / widgets / awesompd.lua
index 38a9c02f731b3a50a213530476ff8a12296f9fcb..20fdd1b4b05b0595f4f97dcffd5c791fdaa6488d 100644 (file)
@@ -23,7 +23,7 @@ musicwidget.album_cover_size = 50
 musicwidget.mpd_config = os.getenv("XDG_CONFIG_HOME").."/mpd/mpd.conf"
 -- Specify the browser you use so awesompd can open links from
 -- Jamendo in it.
 musicwidget.mpd_config = os.getenv("XDG_CONFIG_HOME").."/mpd/mpd.conf"
 -- Specify the browser you use so awesompd can open links from
 -- Jamendo in it.
-musicwidget.browser = "mimeo"
+musicwidget.browser = "rifle"
 -- Specify decorators on the left and the right side of the
 -- widget. Or just leave empty strings if you decorate the widget
 -- from outside.
 -- Specify decorators on the left and the right side of the
 -- widget. Or just leave empty strings if you decorate the widget
 -- from outside.
@@ -46,6 +46,7 @@ musicwidget:register_buttons({
     { modkey,    "p",                        musicwidget:command_playpause()   },
     { modkey,    ",",                        musicwidget:command_prev_track()   },
     { modkey,    ".",                        musicwidget:command_next_track()   },
     { modkey,    "p",                        musicwidget:command_playpause()   },
     { modkey,    ",",                        musicwidget:command_prev_track()   },
     { modkey,    ".",                        musicwidget:command_next_track()   },
+    { modkey,    "'",                        function() musicwidget.to_notify = true end   },
     { { modkey, "Shift" },    ",",           musicwidget:command_previous_server()   },
     { { modkey, "Shift" },    ".",           musicwidget:command_next_server()   },
     { "",        "XF86AudioPlay",            musicwidget:command_playpause()   },
     { { modkey, "Shift" },    ",",           musicwidget:command_previous_server()   },
     { { modkey, "Shift" },    ".",           musicwidget:command_next_server()   },
     { "",        "XF86AudioPlay",            musicwidget:command_playpause()   },