Compare commits

..

No commits in common. "b01b616f4b8a3fa9a8294be28483222ed4e6f9be" and "e38c2d261f5d630d19c0b64503de6378bb82d809" have entirely different histories.

3 changed files with 3 additions and 13 deletions

View File

@ -3,12 +3,7 @@
detect_battery=$(upower -e | grep "battery_BAT" | head -1)
if [ ! -z "${detect_battery}" ] ; then
battery=$(upower -i ${detect_battery} | grep -E "percentage" | awk '{print $2}')
state=$(upower -i ${detect_battery} | grep -E "state" | awk '{print $2}')
if [ "${state}" == "charging" ] ; then
echo "󰂄 ${battery} "
else
echo "󰁹 ${battery} "
fi
echo "󰁹 ${battery} "
else
echo "󱘖 "
fi

View File

@ -3,12 +3,7 @@
detect_battery=$(upower -e | grep "battery_BAT" | head -1)
if [ ! -z "${detect_battery}" ] ; then
battery=$(upower -i ${detect_battery} | grep -E "percentage" | awk '{print $2}')
state=$(upower -i ${detect_battery} | grep -E "state" | awk '{print $2}')
if [ "${state}" == "charging" ] ; then
echo "󰂄 ${battery} "
else
echo "󰁹 ${battery} "
fi
echo "󰁹 ${battery} "
else
echo "󱘖 "
fi

View File

@ -19,7 +19,7 @@ sway-wm - My tiling Sway configuration for Debian
adwaita-qt6 adwaita-qt qt5ct qt6ct wofi keepassxc wmctrl procps clipman pcmanfm jq dex git \
geany xarchiver iwd fonts-noto fonts-noto-core fonts-noto-extra fonts-noto-mono waybar \
xdg-desktop-portal-gtk xdg-desktop-portal xdg-desktop-portal-wlr fonts-liberation psmisc \
sway-notification-center xwayland brightnessctl iw wpasupplicant upower
sway-notification-center xwayland brightnessctl iw wpasupplicant
````
```shell