diff --git a/.config/sxmo/hooks/statusbar b/.config/sxmo/hooks/statusbar index 20e85ae..5259b72 100755 --- a/.config/sxmo/hooks/statusbar +++ b/.config/sxmo/hooks/statusbar @@ -231,11 +231,11 @@ _volume() { if [ -z "$VOL" ] || [ "$VOL" -eq 0 ]; then printf "%s " "$icon_mut" elif [ "$VOL" -gt 66 ]; then - printf "%s " "$icon_spk" + printf "%s" "$icon_spk" elif [ "$VOL" -gt 33 ]; then - printf "%s " "$icon_spm" + printf "%s" "$icon_spm" elif [ "$VOL" -gt 0 ]; then - printf "%s " "$icon_spl" + printf "%s" "$icon_spl" fi } diff --git a/.prompt b/.prompt index f268724..e8a3a7a 100644 --- a/.prompt +++ b/.prompt @@ -1,5 +1,5 @@ #!/bin/bash -# shebang for syntax highlightin purposes +# shebang for syntax highlighting purposes __debug_trap() { # Set necessary pre-command variables (PROMPT_COMMAND is a @@ -154,8 +154,8 @@ __prompt() { local TIME="${_YLW}$(__get_cmd_time)" # Random colored $ or # - local RAND256="\[\033[38;2;$RANDOM;$RANDOM;${RANDOM}m\]" - local IND="${RAND256}\\$" + _RAND256="\[\033[38;2;$RANDOM;$RANDOM;${RANDOM}m\]" + local IND="${_RAND256}\\$" # Set the prompt PS1="${_NON}${SSH}${SIG}${UHD} ${TIME} ${IND} ${_NON}"