Files
illogical-impulse/m3ww/.config/eww/scripts/toggle-osd-bright.sh
T
2024-02-22 15:35:06 +07:00

12 lines
229 B
Bash
Executable File

#!/usr/bin/bash
cd ~/.config/eww
state=$(eww get osd_vol)
if [[ "$1" == "--open" ]]; then
eww update osd_bright=true
elif [[ "$1" == "--close" ]]; then
eww update osd_bright=false
else
eww update osd_bright=true
fi