diff options
| author | tslil <tslil@posteo.de> | 2026-04-05 09:42:24 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-04-05 09:44:16 +0100 |
| commit | c495598bdcf38aa7fd2edc2903a42e70ad879ca9 (patch) | |
| tree | cc0da9c0a8825ac33722a530adcdff34c88c208e /bar | |
| parent | f68490ef97b0393f6eef2916fe15abe2540be610 (diff) | |
cleanup
Diffstat (limited to 'bar')
| -rwxr-xr-x | bar | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -1,24 +0,0 @@ -#!/bin/sh - -PRIMARY="FF8C00FF" -SECONDARY="070707FF" - -while true; do - # time="$(TZ=America/Chicago date +'%Z %H:%M') |" - time="$(TZ=Europe/Amsterdam date +'%Z %H:%M %Y/%m/%d')" - temp="CPU $(sensors k10temp-pci-00c3 | grep Tctl | cut -d: -f2 | tr -d ' +')" - wlp1s0="$(nmcli connection | grep wlp1s0 | cut -d\ -f1)" - if [ -z "$wlp1s0" ]; then wlp1s0="DN"; fi - nmcli connection | grep wireguard | grep -vq '\--' && vpn="VPN UP" || vpn="VPN DN" - wifi="WLS $wlp1s0" - bat="BAT $(battery)" - echo "all status $vpn | $wifi | $bat | $temp | $time" - sleep 30s -done | sandbar -bottom\ - -tags 8 F U H . V L O M\ - -font 'PxPlus IBM VGA 9x16:size=24'\ - -vertical-padding 4\ - -hide-vacant-tags\ - -active-bg-color $PRIMARY -active-fg-color $SECONDARY\ - -inactive-bg-color $SECONDARY -inactive-fg-color $PRIMARY\ - -title-fg-color $SECONDARY -title-bg-color $PRIMARY |
