mirror of
https://github.com/10h30/endeavouros-i3wm-setup.git
synced 2026-07-11 10:45:54 +09:00
improving ppd-status
This commit is contained in:
@@ -4,4 +4,13 @@
|
||||
#A script to show current power profile
|
||||
|
||||
current_profile=$(/usr/bin/powerprofilesctl get)
|
||||
echo "$current_profile"
|
||||
if [ "$current_profile" == "performance" ]
|
||||
then
|
||||
echo "<span font='FontAwesome' color='yellow'></span>"
|
||||
elif [ "$current_profile" == "balanced" ]
|
||||
then
|
||||
echo "<span font='FontAwesome' color='white'></span>"
|
||||
else
|
||||
echo "<span font='FontAwesome' color='green'></span>"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user