Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudden blue progress bar appears on dunstify notification below the original one #31

Closed
zijian-x opened this issue May 5, 2021 · 2 comments
Assignees
Labels

Comments

@zijian-x
Copy link

zijian-x commented May 5, 2021

shortcut to change volume via sxhkd:
super + {F10, F11} i3-volume {down, up} 5 -np -N dunstify
super + F12 i3-volume mute -np -N dunstify
what is looks like now:
2021-05-05_3840x2160-crop

using the -y option won't fix it, instead making the whole thing greenish like this:
2021-05-05_3840x2160-crop

without the -p option it still persists.

What could be the cause of that blue progress bar appearing suddenly?

on arch with i3wm, was normal until i tried to change volume while playing a video via mpv, it was normal before.

hastinbe added a commit that referenced this issue May 6, 2021
see #31

Signed-off-by: Beau Hastings <beau@saweet.net>
@hastinbe
Copy link
Owner

hastinbe commented May 6, 2021

dunst 1.6.0 added a progress bar which is displayed when a specific hint is given, which i3-volume provides. I've just pushed a change where if you provide the -p option (i3-volume's progress bar), i3-volume will no longer hint to the notification daemon to draw their progress bar. Pull from master if you want that!

TLDR; Get the latest i3-volume, remove -p if you want dunst's progress bar, or keep it if you want i3-volume's

Note: you can customize dunst's progress bar in your dunstrc. Here are the settings:

    # Set the progress bar height. This includes the frame, so make sure
    # it's at least twice as big as the frame width.
    progress_bar_height = 10

    # Set the frame width of the progress bar
    progress_bar_frame_width = 1

    # Set the minimum width for the progress bar
    progress_bar_min_width = 150

    # Set the maximum width for the progress bar
    progress_bar_max_width = 300

@hastinbe hastinbe self-assigned this May 6, 2021
@hastinbe hastinbe added the bug label May 6, 2021
@zijian-x
Copy link
Author

zijian-x commented May 6, 2021

Of course I'd like to keep the i3-volume bar, which looks much nicer than the blui one dunst provides. So I didn't change any config and pulled the newest version. It's working just fine now as before. Amazing and thank you!

@zijian-x zijian-x closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants