my dotz
0

Configure Feed

Select the types of activity you want to include in your feed.

statusbar -> red

+2 -1
+1
.config/sway/config
··· 178 178 # When the status_command prints a new line to stdout, swaybar updates. 179 179 # The default just shows the current date and time. 180 180 status_command statusbar 181 + pango_markup enabled 181 182 182 183 colors { 183 184 background $base00
+1 -1
bin/nostromo/statusbar
··· 3 3 get_bat() { 4 4 bat="$(cat /sys/class/power_supply/BAT1/capacity)" 5 5 if [ "$bat" -lt 10 ]; then 6 - printf '\033[1m\033[31m%s%%\033[0m' "$bat" 6 + printf '<span foreground="red">%s%%</span>' "$bat" 7 7 else 8 8 printf '%s%%' "$bat" 9 9 fi