mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
eww: Open or focus pavucontrol when right clicking the volume widget
This commit is contained in:
parent
8ae935f790
commit
9ec3e14841
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@
|
|||
:onclick "${eww-scripts}/toggle-sidebar-with-page 2 &"
|
||||
:onscroll "[ '{}' = 'up' ] && swaymsg -q 'exec $cmd_volume_raise' || swaymsg -q 'exec $cmd_volume_lower'"
|
||||
:onmiddleclick "swaymsg -q 'exec $cmd_volume_mute'"
|
||||
:onrightclick "swaymsg '[app_id=\"org.pulseaudio.pavucontrol$\"] focus' || pavucontrol &"
|
||||
(box
|
||||
:space-evenly false
|
||||
:halign "center"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue