From eafd05f069b7cc7e5e92411fc4465b037dac4deb Mon Sep 17 00:00:00 2001 From: ecabigting Date: Mon, 16 May 2022 10:27:51 +0400 Subject: [PATCH] improving ppd-status --- .config/i3/scripts/ppd-status | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/i3/scripts/ppd-status b/.config/i3/scripts/ppd-status index fab21db..a47bc1e 100644 --- a/.config/i3/scripts/ppd-status +++ b/.config/i3/scripts/ppd-status @@ -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 "" + elif [ "$current_profile" == "balanced" ] + then + echo "" + else + echo "" + fi +