1
0
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:
Simon
2021-01-29 15:19:25 +01:00
parent 3b89d14b9c
commit d81229fa7f
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -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]
+3 -3
View File
@@ -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