mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
playerctl play/pause all
This commit is contained in:
parent
bc7d8a196b
commit
86c9731482
@ -272,7 +272,7 @@ root.buttons(gears.table.join(
|
|||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
globalkeys = gears.table.join(
|
globalkeys = gears.table.join(
|
||||||
|
|
||||||
awful.key( {}, "Pause", function () awful.spawn.with_shell("playerctl play-pause") end,
|
awful.key( {}, "Pause", function () awful.spawn.with_shell("playerctl -a play-pause") end,
|
||||||
{description="pause/play", group="media controls"}),
|
{description="pause/play", group="media controls"}),
|
||||||
|
|
||||||
awful.key( {}, "#117", function () awful.spawn.with_shell("playerctl next") end,
|
awful.key( {}, "#117", function () awful.spawn.with_shell("playerctl next") end,
|
||||||
@ -291,8 +291,8 @@ globalkeys = gears.table.join(
|
|||||||
awful.key( {}, "#121", function () awful.spawn.with_shell("pulsemixer --toggle-mute") end ), -- mute
|
awful.key( {}, "#121", function () awful.spawn.with_shell("pulsemixer --toggle-mute") end ), -- mute
|
||||||
awful.key( {}, "#171", function () awful.spawn.with_shell("playerctl next") end ), -- play next
|
awful.key( {}, "#171", function () awful.spawn.with_shell("playerctl next") end ), -- play next
|
||||||
awful.key( {}, "#173", function () awful.spawn.with_shell("playerctl previous") end ), -- play previous
|
awful.key( {}, "#173", function () awful.spawn.with_shell("playerctl previous") end ), -- play previous
|
||||||
awful.key( {}, "#174", function () awful.spawn.with_shell("playerctl stop") end ), -- stop
|
awful.key( {}, "#174", function () awful.spawn.with_shell("playerctl -a stop") end ), -- stop
|
||||||
awful.key( {}, "#172", function () awful.spawn.with_shell("playerctl play-pause") end ), -- play/pause
|
awful.key( {}, "#172", function () awful.spawn.with_shell("playerctl -a play-pause") end ), -- play/pause
|
||||||
|
|
||||||
awful.key( { "Control" }, "#107", function () awful.spawn.with_shell("flameshot gui") end,
|
awful.key( { "Control" }, "#107", function () awful.spawn.with_shell("flameshot gui") end,
|
||||||
{description="take region screenshot", group="launcher"}), -- take region screenshot
|
{description="take region screenshot", group="launcher"}), -- take region screenshot
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user