diff options
Diffstat (limited to 'laptop/.config/hypr/scripts/current-brightness.sh')
| -rwxr-xr-x | laptop/.config/hypr/scripts/current-brightness.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/laptop/.config/hypr/scripts/current-brightness.sh b/laptop/.config/hypr/scripts/current-brightness.sh new file mode 100755 index 0000000..4856e59 --- /dev/null +++ b/laptop/.config/hypr/scripts/current-brightness.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +s=$(brightnessctl | grep % | awk -F" " '{print $4}') +echo ${s:1:-2} |
