Add playerctl bindings to i3
Since version 3.4.5, Rhythmbox dropped the mmkeys plugin, stating that
it is "no longer useful" and it "has been obsoleted by MPRIS". This
change broke the media keys support on i3.
Since the regression is on purpose, there might not be no way to get
this mmkeys plugin back in Rhythmbox. The workaround is therefore to use
MPRIS. I chose playerctl since it is the most straightforward to me. A
few i3 key bindings later, media keys were back in control of Rhythmbox!
https://gitlab.gnome.org/GNOME/rhythmbox/-/blob/v3.4.5/NEWS
0cdeb7cb7a
https://wiki.archlinux.org/title/MPRIS
https://i3wm.org/docs/userguide.html#keybindings
This commit is contained in:
parent
dbb0388470
commit
449c161911
2 changed files with 7 additions and 1 deletions
|
@ -149,6 +149,12 @@ bindsym Print exec scrot -e 'mv $f ~/pictures/ 2>/dev/null'
|
||||||
# Screen lock
|
# Screen lock
|
||||||
bindsym $mod+l exec 'lock'
|
bindsym $mod+l exec 'lock'
|
||||||
|
|
||||||
|
# Media player controls
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioPause exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
bar {
|
||||||
|
|
|
@ -13,7 +13,7 @@ pacman -S skim
|
||||||
# Rust
|
# Rust
|
||||||
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
||||||
# CLI software
|
# CLI software
|
||||||
pacman -S bind exiv2 imagemagick mkcert ncdu nmap rsync shellcheck sqlmap yt-dlp
|
pacman -S bind exiv2 imagemagick mkcert ncdu nmap playerctl rsync shellcheck sqlmap yt-dlp
|
||||||
# WM
|
# WM
|
||||||
pacman -S i3status
|
pacman -S i3status
|
||||||
pacman -S i3lock scrot
|
pacman -S i3lock scrot
|
||||||
|
|
Loading…
Reference in a new issue