From 5255e3d72843dc64055db18aa4e17736c469068b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Fri, 19 Feb 2021 09:44:52 +0300 Subject: [PATCH] Updated status bar scripts --- chroot/plist.sh | 4 ++-- scripts/status-bar/arch | 2 +- scripts/status-bar/battery | 20 ++++++++++---------- scripts/status-bar/cpu-temp | 2 +- scripts/status-bar/fecha | 2 +- scripts/status-bar/red | 4 ++-- scripts/status-bar/volume | 8 ++++---- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/chroot/plist.sh b/chroot/plist.sh index de4576df..e5097a6f 100755 --- a/chroot/plist.sh +++ b/chroot/plist.sh @@ -1,4 +1,4 @@ #!/bin/bash -pacman -Qqe | grep -v "$(pacman -Qqm)" > nonAUR.txt -pacman -Qqm > AUR.txt +pacman -Qqe | grep -v "$(pacman -Qqm)" > ~/.dotfiles/chroot/nonAUR.txt +pacman -Qqm > ~/.dotfiles/chroot/AUR.txt diff --git a/scripts/status-bar/arch b/scripts/status-bar/arch index 690da602..246f4abd 100755 --- a/scripts/status-bar/arch +++ b/scripts/status-bar/arch @@ -1,6 +1,6 @@ #!/bin/sh -icon=󰮯 +icon= if ! updates=$(checkupdates 2> /dev/null | wc -l ); then updates=0 diff --git a/scripts/status-bar/battery b/scripts/status-bar/battery index 9b939d1c..d3660d95 100755 --- a/scripts/status-bar/battery +++ b/scripts/status-bar/battery @@ -3,16 +3,16 @@ bat=$(cat /sys/class/power_supply/BAT0/capacity) status=$(cat /sys/class/power_supply/BAT0/status) -ramp10=󰁺 -ramp20=󰁻 -ramp30=󰁼 -ramp40=󰁽 -ramp50=󰁾 -ramp60=󰁿 -ramp70=󰂀 -ramp80=󰂁 -ramp90=󰂂 -ramp100=󰁹 +ramp10= +ramp20= +ramp30= +ramp40= +ramp50= +ramp60= +ramp70= +ramp80= +ramp90= +ramp100= if [[ $bat -lt 10 ]]; then echo " $ramp10 $bat% " diff --git a/scripts/status-bar/cpu-temp b/scripts/status-bar/cpu-temp index 99fb627d..614fb63c 100755 --- a/scripts/status-bar/cpu-temp +++ b/scripts/status-bar/cpu-temp @@ -1,6 +1,6 @@ #! /bin/sh temp=$(sed 's/000$/°C/' /sys/class/thermal/thermal_zone0/temp) -icon=󰔏 +icon= echo "$icon $temp " diff --git a/scripts/status-bar/fecha b/scripts/status-bar/fecha index 992a49dd..593444ff 100755 --- a/scripts/status-bar/fecha +++ b/scripts/status-bar/fecha @@ -1,6 +1,6 @@ #! /bin/sh -icon=󰸘 +icon= cmd=$(date +"%b %e, %R") diff --git a/scripts/status-bar/red b/scripts/status-bar/red index f6f508d7..83282b53 100755 --- a/scripts/status-bar/red +++ b/scripts/status-bar/red @@ -1,9 +1,9 @@ #! /bin/sh if [[ $(cat /sys/class/net/wlp*/operstate) == "up" ]]; then - echo " 󰤨 " + echo " 直 " else - echo " 󰤮 " + echo " 睊 " fi diff --git a/scripts/status-bar/volume b/scripts/status-bar/volume index ca968a57..707851f9 100755 --- a/scripts/status-bar/volume +++ b/scripts/status-bar/volume @@ -4,10 +4,10 @@ #vol=$(amixer get Master | awk -F'[][]' 'END{ print $2 }' ) mute=$(pamixer --get-mute) vol=$(pamixer --get-volume) -iconmute=󰖁 -ramp1=󰕿 -ramp2=󰖀 -ramp3=󰕾 +iconmute=婢 +ramp1=奄 +ramp2=奔 +ramp3=墳 #if [[ $mute == "true" ]]; then # echo " $iconmute $vol% "