aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/hypr/scripts/current-brightness.sh
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2025-11-02 20:14:11 +0100
committerMosder <xmosder12@gmail.com>2025-11-02 20:14:11 +0100
commitc6ff7b4d2c91fbc086e573e01f76da3dc3ef3ed3 (patch)
tree0594eb4ed8894b9a42e559c25a7c13760ae18430 /laptop/.config/hypr/scripts/current-brightness.sh
parent5ac0ba36a26abd999dd3e6ce0c0caa7e739717b2 (diff)
✨ feat(hypr): integrate swayosd, add scripts and update keybindings
Diffstat (limited to 'laptop/.config/hypr/scripts/current-brightness.sh')
-rwxr-xr-xlaptop/.config/hypr/scripts/current-brightness.sh4
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}