diff --git a/sb-backlight b/sb-backlight index 29cad60..6a57fe3 100755 --- a/sb-backlight +++ b/sb-backlight @@ -2,6 +2,6 @@ . sb-theme -val=$(printf " %.0f\n" $(brillo -q -G)) +val=$(printf "󰃝 %.0f\n" $(brillo -q -G)) display "$val" $1 diff --git a/sb-battery b/sb-battery index d8dc4bb..5c51816 100755 --- a/sb-battery +++ b/sb-battery @@ -8,15 +8,15 @@ for battery in /sys/class/power_supply/BAT?*; do [ -n "${capacity+x}" ] && printf " " # Sets up the status and capacity case "$(cat "$battery/status")" in - "Full") status=" " ;; - "Discharging") status=" " ;; - "Charging") status=" " ;; - "Not charging") status=" " ;; - "Unknown") status="♻️ " ;; + "Full") status="󰁹 " ;; + "Discharging") status="󱟤 " ;; + "Charging") status="󰂅 " ;; + "Not charging") status="󰁾 " ;; + "Unknown") status="󰂃 " ;; esac capacity=$(cat "$battery/capacity") # Will make a warn variable if discharging and low - [ "$status" = " " ] && [ "$capacity" -le 25 ] && warn="low" + [ "$status" = "󰁺 " ] && [ "$capacity" -le 25 ] && warn="low" # Prints the info display "$status$warn$capacity%" $1; unset warn done && exit 0 diff --git a/sb-disk-space b/sb-disk-space index b2dd332..70d3248 100755 --- a/sb-disk-space +++ b/sb-disk-space @@ -15,6 +15,6 @@ while read -a Line; do fi done <<< "$(df -h -x devtmpfs -x tmpfs -x usbfs -x loop)" -# display " $root_free/$root_size|$home_free/$home_size" $1 -# display " $home_free/$home_size $home_percent" $1 -display " $home_percent" $1 +# display "󰋊 $root_free/$root_size|$home_free/$home_size" $1 +# display "󰋊 $home_free/$home_size $home_percent" $1 +display "󰋊 $home_percent" $1 diff --git a/sb-song-status b/sb-song-status index b810730..a72f31e 100755 --- a/sb-song-status +++ b/sb-song-status @@ -3,8 +3,8 @@ status=$(mpc status | sed -n '/playing/p' | cut -c2-8 | sed 's/^[ \t]*//') if [ "$status" = "playing" ]; then # If song is playing - printf "%s\n" "契" + printf "%s\n" "󰐊" else - printf "%s\n" "" + printf "%s\n" "󰏤" fi diff --git a/sb-wifi b/sb-wifi index dd5d82c..06090e7 100755 --- a/sb-wifi +++ b/sb-wifi @@ -3,8 +3,8 @@ . sb-theme case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in - down) wifiicon="睊" ;; - up) wifiicon="$(awk '/^\s*w/ { print "直", int($3 * 100 / 70) "%" }' /proc/net/wireless)" ;; + down) wifiicon="󰖪" ;; + up) wifiicon="$(awk '/^\s*w/ { print "", int($3 * 100 / 70) "%" }' /proc/net/wireless)" ;; esac display "$wifiicon" "$1"