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
|
type = custom/text
|
||||||
content = |
|
content = |
|
||||||
click-left = "setsid pavucontrol"
|
click-left = "setsid pavucontrol"
|
||||||
|
click-right = "setsid pulseaudio-equalizer-gtk"
|
||||||
click-middle = "bash ~/Userdata/Scripts/Launchers/restart_pulseaudio_1s.sh"
|
click-middle = "bash ~/Userdata/Scripts/Launchers/restart_pulseaudio_1s.sh"
|
||||||
|
|
||||||
[module/cava]
|
[module/cava]
|
||||||
|
|||||||
@@ -598,10 +598,10 @@ function serve_region() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Don't hide if the cursor is still above the window
|
# Don't hide if the cursor is still above the window
|
||||||
if [ $_IS_HIDDEN -ne 0 ] &&
|
if [ $_IS_HIDDEN -ne 0 ] && [ $_hide -eq 0 ] ; then
|
||||||
[ $_hide -eq 0 ] &&
|
if [ $WINDOW -eq $WIN_ID ] || [ $WINDOW -eq $WIN_ID_MOVEALONG_ONE ] ; then
|
||||||
[ $WINDOW -eq $WIN_ID ]; then
|
_hide=1
|
||||||
_hide=1
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Only do something if necessary
|
# Only do something if necessary
|
||||||
|
|||||||
Reference in New Issue
Block a user