config/qtile: add media keys
This commit is contained in:
parent
d690dd0a27
commit
ea34af7680
1 changed files with 17 additions and 0 deletions
|
@ -363,6 +363,23 @@ keys = [
|
||||||
desc="Toggle mute",
|
desc="Toggle mute",
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# Playpack
|
||||||
|
Key(
|
||||||
|
[], "XF86AudioPlay",
|
||||||
|
lazy.spawn("playerctl play-pause"),
|
||||||
|
desc="Play/Pause current media",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
[], "XF86AudioPrev",
|
||||||
|
lazy.spawn("playerctl previous"),
|
||||||
|
desc="Skip to previous track",
|
||||||
|
),
|
||||||
|
Key(
|
||||||
|
[], "XF86AudioNext",
|
||||||
|
lazy.spawn("playerctl next"),
|
||||||
|
desc="Skip to next track",
|
||||||
|
),
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
*optional_list(
|
*optional_list(
|
||||||
LAPTOP,
|
LAPTOP,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue