Add brightness script for statusbar
This commit is contained in:
3
Scripts/.local/scripts/status/brightness
Executable file
3
Scripts/.local/scripts/status/brightness
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
printf " %.0f%%\n" $(xbacklight)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user