dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

commit a84c14b59cbe7086b2afb1474f3a8c5565f79a2a
parent fe472d12019ee939ca986563856f5b31616ec143
Author: regexghost <dev@regexghost.com>
Date:   Fri, 31 Jul 2026 20:41:02 +0100

added user-dirs.dirs, moving Desktop out of home to stop Firefox creating an annoying empty folder when opening a file prompt.

Diffstat:
Adotfiles/.config/user-dirs.dirs | 15+++++++++++++++
Mdotfiles/.kshrc | 1-
Mlists/dotfiles | 1+
Mpanel-scripts/weather-formatter.sh | 6++++++
4 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/dotfiles/.config/user-dirs.dirs b/dotfiles/.config/user-dirs.dirs @@ -0,0 +1,15 @@ +# This file is written by xdg-user-dirs-update +# If you want to change or add directories, just edit the line you're +# interested in. All local changes will be retained on the next run. +# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped +# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an +# absolute path. No other format is supported. +# +XDG_DESKTOP_DIR="$HOME/.local/share/Desktop" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_TEMPLATES_DIR="$HOME/.local/share/Templates" +XDG_PUBLICSHARE_DIR="$HOME/.local/share/Public" +XDG_DOCUMENTS_DIR="$HOME/Documents" +XDG_MUSIC_DIR="$HOME/Music" +XDG_PICTURES_DIR="$HOME/Pictures" +XDG_VIDEOS_DIR="$HOME/Videos" diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc @@ -63,7 +63,6 @@ alias sshr='ssh racknerd' alias sshp='ssh piserver' alias sshg='ssh gopherbox' alias qv='~/.config/newsraft/queue-vid.sh' -alias dns='dig A +short' alias trash-size='du -s -h ~/.local/share/Trash/files/ | cut -f 1' alias sync='echo "Syncing"; sync; echo "Done"; lsblk' alias man='MANWIDTH=$(($(stty size | cut -d " " -f 2)-20)) man' diff --git a/lists/dotfiles b/lists/dotfiles @@ -37,3 +37,4 @@ ~/.config/wgetrc ~/.config/mpv/mpv.conf ~/.config/mpv/input.conf +~/.config/user-dirs.dirs diff --git a/panel-scripts/weather-formatter.sh b/panel-scripts/weather-formatter.sh @@ -12,6 +12,8 @@ function format() { echo "\${color #$YELLOW}\${font4}  \${font}\${color}" elif [[ "$icon_name" == "Light shower day" ]]; then echo "\${color #$WHITE}\${font4}  \${font}\${color}" + elif [[ "$icon_name" == "Heavy shower day" ]]; then + echo "\${color #$WHITE}\${font4}  \${font}\${color}" elif [[ "$icon_name" == "Sunny intervals" ]]; then echo "\${color #$YELLOW}\${font4}  \${font}\${color}" elif [[ "$icon_name" == "Light rain" ]]; then @@ -32,6 +34,8 @@ function format() { echo "%{F#$YELLOW}  %{F-}" elif [[ "$icon_name" == "Light shower day" ]]; then echo "%{F#$WHITE}  %{F-}" + elif [[ "$icon_name" == "Heavy shower day" ]]; then + echo "%{F#$WHITE}  %{F-}" elif [[ "$icon_name" == "Sunny intervals" ]]; then echo "%{F#$YELLOW}  %{F-}" elif [[ "$icon_name" == "Light rain" ]]; then @@ -52,6 +56,8 @@ function format() { echo "<span font='Font Awesome 7 Free Solid 9' foreground='#$YELLOW'>  </span>" elif [[ "$icon_name" == "Light shower day" ]]; then echo "<span font='Font Awesome 7 Free Solid 9' foreground='#$WHITE'>  </span>" + elif [[ "$icon_name" == "Heavy shower day" ]]; then + echo "<span font='Font Awesome 7 Free Solid 9' foreground='#$WHITE'>  </span>" elif [[ "$icon_name" == "Sunny intervals" ]]; then echo "<span font='Font Awesome 7 Free Solid 9' foreground='#$YELLOW'>  </span>" elif [[ "$icon_name" == "Light rain" ]]; then