summaryrefslogtreecommitdiff
path: root/hyprbri
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-06-07 17:48:09 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-06-07 17:48:09 +0800
commit470a9106d391424c43a5640a646f37b1e5d28fcd (patch)
tree0e8ff63cff46f95224812755058496ae1bec12ac /hyprbri
parentf798244d6c3a3f0a686622435f1c1ce9353bcf93 (diff)
bump
Diffstat (limited to 'hyprbri')
-rwxr-xr-xhyprbri5
1 files changed, 0 insertions, 5 deletions
diff --git a/hyprbri b/hyprbri
index 6fe9508..a0fc263 100755
--- a/hyprbri
+++ b/hyprbri
@@ -1,9 +1,7 @@
#!/usr/bin/env bash
-# Icons
iDIR='/usr/share/archcraft/icons/dunst'
-# Notify
notify_bl() {
backlight="$(brillo -G)"
current="${backlight%%%}"
@@ -21,17 +19,14 @@ notify_bl() {
get_icon && dunstify -u low -h string:x-dunst-stack-tag:obbacklight -i "$icon" "Brightness : $(brillo -G)"
}
-# Increase brightness
inc_backlight() {
brillo -A 10 # && notify_bl
}
-# Decrease brightness
dec_backlight() {
brillo -U 10 # && notify_bl
}
-# Execute accordingly
if [[ "$1" == "--get" ]]; then
brillo -G
elif [[ "$1" == "--inc" ]]; then