mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
removed ncmpcpp cli control due to deprecation
This commit is contained in:
parent
45b5b3b917
commit
fff4b2df90
|
@ -457,17 +457,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
|
@ -512,17 +512,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
|
@ -457,17 +457,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
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)))
|
function () awful.util.spawn_with_shell(musicplr) end)))
|
||||||
prev_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
prev_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end)))
|
end)))
|
||||||
next_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
next_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end)))
|
end)))
|
||||||
stop_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
stop_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||||
function ()
|
function ()
|
||||||
play_pause_icon:set_image(beautiful.play)
|
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()
|
mpdwidget.update()
|
||||||
end)))
|
end)))
|
||||||
play_pause_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
play_pause_icon:buttons(awful.util.table.join(awful.button({}, 1,
|
||||||
|
@ -592,17 +592,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
|
@ -520,17 +520,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
|
@ -509,17 +509,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
|
@ -455,17 +455,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
|
@ -464,17 +464,17 @@ globalkeys = awful.util.table.join(
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Down",
|
awful.key({ altkey, "Control" }, "Down",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Left",
|
awful.key({ altkey, "Control" }, "Left",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
awful.key({ altkey, "Control" }, "Right",
|
awful.key({ altkey, "Control" }, "Right",
|
||||||
function ()
|
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()
|
mpdwidget.update()
|
||||||
end),
|
end),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue