mirror of
https://gitlab.com/linuxstuff/dotfiles.git
synced 2026-06-19 04:06:00 +02:00
improved hover detection on systray
This commit is contained in:
@@ -440,6 +440,7 @@ menu-0-2-exec = "playerctl next"
|
||||
type = custom/text
|
||||
content = |
|
||||
click-left = "setsid pavucontrol"
|
||||
click-right = "setsid pulseaudio-equalizer-gtk"
|
||||
click-middle = "bash ~/Userdata/Scripts/Launchers/restart_pulseaudio_1s.sh"
|
||||
|
||||
[module/cava]
|
||||
|
||||
@@ -598,11 +598,11 @@ function serve_region() {
|
||||
fi
|
||||
|
||||
# Don't hide if the cursor is still above the window
|
||||
if [ $_IS_HIDDEN -ne 0 ] &&
|
||||
[ $_hide -eq 0 ] &&
|
||||
[ $WINDOW -eq $WIN_ID ]; then
|
||||
if [ $_IS_HIDDEN -ne 0 ] && [ $_hide -eq 0 ] ; then
|
||||
if [ $WINDOW -eq $WIN_ID ] || [ $WINDOW -eq $WIN_ID_MOVEALONG_ONE ] ; then
|
||||
_hide=1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Only do something if necessary
|
||||
if [ $_IS_HIDDEN -ne $_hide ]; then
|
||||
|
||||
Reference in New Issue
Block a user