removed ncmpcpp cli control due to deprecation
This commit is contained in:
parent
c65469db20
commit
008eceaae3
|
@ -457,17 +457,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
|
@ -512,17 +512,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
|
@ -457,17 +457,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
12
rc.lua.holo
12
rc.lua.holo
|
@ -202,18 +202,18 @@ mpd_icon:buttons(awful.util.table.join(awful.button({ }, 1,
|
|||
function () awful.util.spawn_with_shell(musicplr) end)))
|
||||
prev_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end)))
|
||||
next_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end)))
|
||||
stop_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||
function ()
|
||||
play_pause_icon:set_image(beautiful.play)
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end)))
|
||||
play_pause_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||
|
@ -592,17 +592,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
|
@ -520,17 +520,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
|
@ -509,17 +509,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
|
@ -455,17 +455,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
|
@ -464,17 +464,17 @@ globalkeys = awful.util.table.join(
|
|||
end),
|
||||
awful.key({ altkey, "Control" }, "Down",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpcpp stop || ncmpc stop || pms stop")
|
||||
awful.util.spawn_with_shell("mpc stop || ncmpc stop || pms stop")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Left",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpcpp prev || ncmpc prev || pms prev")
|
||||
awful.util.spawn_with_shell("mpc prev || ncmpc prev || pms prev")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
awful.key({ altkey, "Control" }, "Right",
|
||||
function ()
|
||||
awful.util.spawn_with_shell("mpc next || ncmpcpp next || ncmpc next || pms next")
|
||||
awful.util.spawn_with_shell("mpc next || ncmpc next || pms next")
|
||||
mpdwidget.update()
|
||||
end),
|
||||
|
||||
|
|
Loading…
Reference in New Issue