Add brightness script for statusbar

This commit is contained in:
2024-10-05 15:31:02 +01:00
parent b51a3fbe7a
commit 44ea16b7be
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
printf " %.0f%%\n" $(xbacklight)

View File

@@ -1,2 +1,8 @@
#!/usr/bin/env bash
echo " $(pamixer --get-volume-human)"
if [[ $(pamixer --get-mute) == "true" ]]
then
echo ""
else
echo " $(pamixer --get-volume-human)"
fi