Open JumpIn-Git opened 3 months ago
if laptop is selected in the script, maybe also install poweralertd, this is another software that sends dunst notifications when the battery is low, just add exec-once = poweralterd
@mylinuxforwork what do you think of this? i added some screenshots too
also change bind to binde, this way you can hold the button
the version of swayosd i used has been removed... use swayosd-git
This, or ags osd like hyprpanel uses. Ags is already part of ML4W.
Is your feature request related to a problem? Please describe. When someone with the stock dotfiles uses the audio/brightness buttons, they can not see how much volume/brightness they have right now, where it is even worse with brightness since it isnt on the waybar (not needed)
Describe the solution you'd like I have found a very simple program, swayosd, which already gives amazing audio/brightness notfication. I reccomend swayosd-percentage-display-git in the aur, it is a modified version of swayosd wich shows the brightness/audio count
here is the script, also the script needs to be autorun without arguments so that a service can be started: https://pastebin.com/ADGjBMN1
here are the modiefied bind keys:
bind = , XF86MonBrightnessUp, exec, $HYPRSCRIPTS/volume.sh brightness_higher # Increase brightness by 10% bind = , XF86MonBrightnessDown, exec, $HYPRSCRIPTS/volume.sh brightness_lower # Reduce brightness by 10% bind = , XF86AudioRaiseVolume, exec, $HYPRSCRIPTS/volume.sh volume_up # Increase volume by 5% bind = , XF86AudioLowerVolume, exec, $HYPRSCRIPTS/volume.sh volume_down # Reduce volume by 5% bind = , XF86AudioMute, exec, $HYPRSCRIPTS/volume.sh volume_mute # Toggle mute
Additional context