Compare commits
No commits in common. "b01b616f4b8a3fa9a8294be28483222ed4e6f9be" and "e38c2d261f5d630d19c0b64503de6378bb82d809" have entirely different histories.
b01b616f4b
...
e38c2d261f
@ -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
|
||||
else
|
||||
echo " "
|
||||
fi
|
||||
|
@ -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
|
||||
else
|
||||
echo " "
|
||||
fi
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user