small pixel drawing of a pufferfish dotfiles

general maintenance
Jes Olson j3s@c3f.net
Sun, 26 Nov 2023 14:19:06 -0600
commit

18c978bdb729c2206e487cf03821e1fcb9f3031e

parent

960e7f5f79211800596baf121fcdb13e4b8e8239

4 files changed, 24 insertions(+), 10 deletions(-)

jump to
M .config/chromium-flags.conf.config/chromium-flags.conf

@@ -2,3 +2,4 @@ --ozone-platform-hint=auto

--ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy +--enable-features=VaapiVideoDecoder
M .config/kanshi/config.config/kanshi/config

@@ -30,3 +30,12 @@ profile {

output eDP-1 disable output "Dell Inc. DELL S3220DGF 7S3NF43" enable } + +profile { + output "Dell Inc. DELL S3220DGF 7S3NF43" enable +} + +profile { + output eDP-1 disable + output "Dell Inc. DELL U2515H YKFWP5320LZL" enable +}
M bin/zora/droshbin/zora/drosh

@@ -1,1 +1,1 @@

-/home/j3s/code/drosh/drosh+/home/j3s/code/drosh-public/drosh
M bin/zora/statusbarbin/zora/statusbar

@@ -2,20 +2,24 @@ #!/bin/sh

while true do - vpn="off" - if ip link ls tun0 > /dev/null 2>&1; then - vpn="on" - fi wifi="disconnected (0%)" if nmcli dev show wlp0s20f3 | grep GENERAL.STATE | grep -q connected; then wifiname="$(nmcli -t dev show wlp0s20f3 | grep GENERAL.CONNECTION | cut -d ':' -f 2)" - wifistrength="$(nmcli dev show wlp0s20f3 | awk '/GENERAL.STATE/ {print $2}')" - wifi="$wifiname ($wifistrength%)" + # wifistrength="$(nmcli dev show wlp0s20f3 | awk '/GENERAL.STATE/ {print $2}')" + # wifi="$wifiname ($wifistrength%)" + wifi="$wifiname" + fi + vpn="off" + if ip link ls gpd0 | grep -q UP; then + vpn="on" fi battery="$(cat /sys/class/power_supply/BAT0/capacity)%" - time=$(date +"%A %Y-%m-%d %I:%M %p") - est_time=$(TZ=America/New_York date +"(🗽%I:%M ET)") - time="$time $est_time $(date -u +"(🤖%H:%M UTC)")" + # time=$(date +"%A %Y-%m-%d %I:%M %p") + pst_time=$(TZ=America/Los_Angeles date +"%I:%M PT ") + cst_time=$(TZ=America/Chicago date +"[%I:%M CT] ") + est_time=$(TZ=America/New_York date +"%I:%M ET ") + utc_time=$(date -u +"%H:%M UTC ") + time="$pst_time $cst_time $est_time $utc_time" # --date='TZ="America/New_York" printf "%s | %s | %s\n" "wifi: ${wifi} vpn: $vpn" "bat: ${battery}" "${time}" sleep 10