sxhkd: Switch to rofi-pass and pavolume invocation

Switched sxhkd shortcut from rofi-gopass to new rofi-pass
implementation.

Additionally switched from pulsemixer to pavolume for media key volume
control. Pulsemixer works well as a tui application, but its cli
implementation is unbearably slow (on my setup at the very least).

After pressing the volume up/down/mute key it could take up to 3 seconds
to take effect. With pavolume this change happens almost
instantaneously, and it displays a libnotify message on top (can be
disabled).
This commit is contained in:
Marty Oehme 2020-09-12 17:53:46 +02:00
parent 268f8543a2
commit def968aefd
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 4 additions and 3 deletions

View file

@ -76,6 +76,7 @@ ntp
os-prober os-prober
pacman-contrib pacman-contrib
pandoc-citeproc pandoc-citeproc
pavolume
pdfjs pdfjs
pia-tools pia-tools
picom picom

View file

@ -18,9 +18,9 @@ super + F8
XF86MonBrightness{Up,Down} XF86MonBrightness{Up,Down}
xbacklight {-inc,-dec} 10 xbacklight {-inc,-dec} 10
XF86AudioMute XF86AudioMute
pulsemixer --toggle-mute pavolume mutetoggle
XF86Audio{LowerVolume,RaiseVolume} XF86Audio{LowerVolume,RaiseVolume}
pulsemixer --change-volume {-5,+5} pavolume {voldown, volup}
# Open terminal emulator (the variable gets set in sh module basic env vars) # Open terminal emulator (the variable gets set in sh module basic env vars)
super + Return super + Return
@ -40,7 +40,7 @@ super + { r, shift + r }
# open gopass frontend menu # open gopass frontend menu
super + p super + p
rofi-gopass -theme themes/dropdown rofi-pass -theme themes/dropdown
# open surfraw rofi frontend # open surfraw rofi frontend
super + q super + q