dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit ba701d1eb9100dc3269606a83e3444d231c2df8a
parent bf8d618d6ea268a9ea9d9e6c45ab11257fa0f99f
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue,  9 May 2023 11:55:46 +0100

t w e a k s :wrench:

Diffstat:
Mbin/bin/colorbars-sm | 6+++---
Mbin/bin/newstuir | 2+-
Mbin/bin/sitrep | 3+--
Mbin/bin/sysinfo | 2+-
Mcmus/bin/wmt | 2++
Mnewsboat/.newsboat/config | 3++-
6 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/bin/bin/colorbars-sm b/bin/bin/colorbars-sm @@ -4,7 +4,7 @@ echo # mini smpte color bars for y in $(seq 0 6); do printf %s ' ' - for color in 7 3 12 2 5 1 4; do + for color in 7 3 12 14 5 9 4; do tput setab ${color} printf %s ' ' done @@ -14,7 +14,7 @@ done for y in 0 1; do printf %s ' ' - for color in 14 0 5 0 6 0 7; do + for color in 2 0 5 0 6 0 7; do tput setab ${color} printf %s ' ' done @@ -24,7 +24,7 @@ done for y in $(seq 0 2); do printf %s ' ' - for color in 4 4 4 4 4 7 7 7 7 7 5 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0; do + for color in 4 4 4 4 4 7 7 7 7 7 6 6 6 6 6 0 0 0 0 0 0 0 0 0 0 0 0 0; do tput setab ${color} printf %s ' ' done diff --git a/bin/bin/newstuir b/bin/bin/newstuir @@ -1,5 +1,5 @@ #!/bin/bash -source ~/src/warez/tuir/bin/activate +source ~/src/warez/social_media/tuir/bin/activate screen=TERM tuir $1 diff --git a/bin/bin/sitrep b/bin/bin/sitrep @@ -30,8 +30,7 @@ OFFLINE="${Bla}${On_Red} offline ${RCol}" servers=( "greyskull" "nublar" - "blacksun" - "mainframe" + "laundry" ) for server in ${servers[@]} ; do diff --git a/bin/bin/sysinfo b/bin/bin/sysinfo @@ -26,7 +26,7 @@ colors=$(grep urxvt-colors ~/.Xdefaults | awk -F\/ '{print $NF}' | tr -d '"') font=$(grep -Ei "^urxvt\*font" ~/.Xdefaults | awk -F: '{print $3}') font_size=$(grep -Ei "^urxvt\*font" ~/.Xdefaults | grep -Eo '[0-9]{1,2}' | head -n1) #wm=$XDG_SESSION_DESKTOP -wm='2bwm' +wm=`xprop -root _NET_WM_NAME|cut -d\" -f2` #\\ progress bar draw() diff --git a/cmus/bin/wmt b/cmus/bin/wmt @@ -12,6 +12,8 @@ # output of cmus-status-display script music_list="$HOME/.cmus/wmt.txt" +[ -f ${music_list} ] || exit 1 + # toot command path toot="$HOME/src/warez/toot/bin/toot" diff --git a/newsboat/.newsboat/config b/newsboat/.newsboat/config @@ -31,7 +31,8 @@ highlight feedlist "░" color241 default highlight feedlist " [1-9]. " color15 default # the 'whitespace' here is digraphs #188 (ctrl-k 14) highlight feedlist "⋯[a-z].*⋯" color15 default -feedlist-format "%?l?▓ %=2i %t &▓▓▒▒░░⋯%t⋯░░▒▒?" +feedlist-format "%?l?▓ %=2i %t &▓▓▒▒░░ %t ░░▒▒?" + # article format and colours #articlelist-format "%?T? │ %2i %f %t?"