commit 6eb19bcfd834706277d42d7f7ee5b743c9a9b1bc
parent 41759d1902caf5d033bcab451f73bf03909dc88c
Author: regexghost <dev@regexghost.com>
Date: Tue, 4 Aug 2026 14:12:12 +0100
panel music fix, jwm colour change to make titles readable, and buf aliases in kshrc
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc
@@ -48,10 +48,12 @@ rss () {
# Aliases to Specific Commands
alias dud='du -s -h *'
+alias buf='cat /proc/meminfo | grep --color=no -e Writeback -e Dirty'
alias x='chmod +x'
alias copy="sed 's/\n$//g' | xclip -selection c"
alias watchlc="watch 'ls | wc -l'"
alias watchdu="watch 'du -s -h *'"
+alias watchbuf="watch 'cat /proc/meminfo | /usr/bin/grep --color=no -e Writeback -e Dirty'"
alias fatmount='sudo mount -o rw,users,umask=000' # Mount FAT formatted drive correctly
alias balance='aacgain -r -m 1 *.m4a'
alias reload='. ~/.kshrc'
diff --git a/helpers/colours/templates/Template-jwmrc b/helpers/colours/templates/Template-jwmrc
@@ -8,7 +8,7 @@
<Opacity>1.0</Opacity>
<Active>
<Foreground>#FOREGROUND_WHITE</Foreground>
- <Background>#GREEN</Background>
+ <Background>#MAGENTA</Background>
<Opacity>1.0</Opacity>
</Active>
</WindowStyle>
diff --git a/panel-scripts/lemonbar-bar.sh b/panel-scripts/lemonbar-bar.sh
@@ -108,7 +108,7 @@ update_streams () {
update_music () {
state="$(mocp -M "$XDG_CONFIG_HOME/moc" -i)"
song="$(echo "$state" | grep -e "SongTitle" -e "Artist" | tac | tr "\n" "-" | sed 's/-Artist: / - /g' | sed 's/^SongTitle: //g; s/"//g' | string-trunc 14 ".." | sed 's/ $//g')"
- pause="$(echo "$state" | grep -e "State" | cut -d " " -f 2)"
+ pause="$(echo "$state" | grep -e "State" | cut -d " " -f 2 | head -n 1)"
if [ "$song" = "" ]; then
music="${music_stopped_colour} N/A${COLOUR_RESET}"
elif [ "$pause" = "PLAY" ]; then