small pixel drawing of a pufferfish dotfiles

nostromo -> rose
Jes Olson j3s@c3f.net
Sat, 04 Mar 2023 15:18:42 -0800
commit

98f6f8e0be1c28e103a972e8c849438fc1a68f59

parent

1c428525929c8008e9abdf6cdd5abc7341c72436

4 files changed, 5 insertions(+), 25 deletions(-)

jump to
M .profile.profile

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

-export PATH=~/bin/$(hostname):~/bin/$(uname -m):~/bin:~/go/bin:$PATH +export PATH=~/bin/$(hostname):~/bin:~/go/bin:$PATH export ENV=~/.rc export EDITOR=nvim export LANG=en_US.UTF-8

@@ -6,12 +6,12 @@ export GDK_BACKEND=wayland

# https://wiki.archlinux.org/title/Firefox#Applications_on_Wayland_can_not_launch_Firefox export MOZ_DBUS_REMOTE=1 export XDG_CURRENT_DESKTOP=sway -export CHEF_USER_NAME=jolson -# for chef +# DO +export CHEF_USER_NAME=jolson +export KITCHEN_SSH_GATEWAY_USERNAME=jolson export DIGITALOCEAN_ACCESS_TOKEN="$(pa show cloud.digitalocean.com | head -1)" export DIGITALOCEAN_STAGE2_ACCESS_TOKEN="$(pa show stage2.cloud.digitalocean.com | head -1)" -export KITCHEN_SSH_GATEWAY_USERNAME=jolson # this apparently makes java windows not suck # for reasons beyond my mortal comprehension
D bin/nostromo/statusbar

@@ -1,20 +0,0 @@

-#!/bin/sh - -get_bat() { - bat="$(cat /sys/class/power_supply/BAT1/capacity)" - if [ "$bat" -lt 10 ]; then - printf '<span foreground="red">%s%%</span>' "$bat" - else - printf '%s%%' "$bat" - fi -} - -while true -do - time=$(date +"%A %Y-%m-%d %I:%M %p") - time="$time $(date -u +"(%H:%M UTC)")" - bat="$(get_bat)" - wifi="$(nmcli -t dev show wlp170s0 | grep GENERAL.CONNECTION | cut -d ':' -f 2)" - printf "wifi: %s | bat: %s | %s\n" "$wifi" "$bat" "$time" - sleep 10 -done
M bin/prompt.gobin/prompt.go

@@ -55,7 +55,7 @@ hostname, _ := os.Hostname()

if hostname == "zora" { return "🌸" } - if hostname == "nostromo" { + if hostname == "rose" { return "🌹" } return "💀"