initial commit

This commit is contained in:
Cynthia Foxwell 2022-02-15 14:07:11 -07:00
commit 2564138cff
22 changed files with 2642 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#!/bin/bash
row0=("" "⠈" "⠐" "⠘" "⠠" "⠨" "⠰" "⠸" "⢀" "⢈")
row1=("⠁" "⠉" "⠑" "⠙" "⠡" "⠩" "⠱" "⠹" "⢁" "⢉")
row2=("⠂" "⠊" "⠒" "⠚" "⠢" "⠪" "⠲" "⠺" "⢂" "⢊")
row3=("⠃" "⠋" "⠓" "⠛" "⠣" "⠫" "⠳" "⠻" "⢃" "⢋")
row4=("⠄" "⠌" "⠔" "⠜" "⠤" "⠬" "⠴" "⠼" "⢄" "⢌")
row5=("⠅" "⠍" "⠕" "⠝" "⠥" "⠭" "⠵" "⠽" "⢅" "⢍")
chars=("${row0[@]}" "${row1[@]}" "${row2[@]}" "${row3[@]}" "${row4[@]}" "${row5[@]}")
hour=$(date +"%H")
minute=$(date +"%M")
second=$(date +"%S")
[[ $hour = 0* ]] && hour=${hour:1:1}
[[ $minute = 0* ]] && minute=${minute:1:1}
[[ $second = 0* ]] && second=${second:1:1}
echo "${chars[$hour]} ${chars[$minute]} ${chars[$second]}"

View file

@ -0,0 +1,7 @@
#!/usr/bin/env sh
pkill polybar
while pgrep -x polybar > /dev/null; do sleep 1; done
polybar bar >> /dev/null 2>&1 &