dotfiles

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

commit 835f621f1409162de1704ecc48d6f9689b6f4944
parent 01525c85248551c6fae2a2f8e30a16fa000c46cf
Author: regexghost <dev@regexghost.com>
Date:   Wed, 29 Jul 2026 17:29:32 +0100

a bunch of small tweaks, switched to mpv for video player, kshrc changes

Diffstat:
M.gitignore | 6+++---
MREADME.md | 10++++++----
Mdotfiles/.kshrc | 8++++----
Mdotfiles/.profile | 2+-
Adotfiles/Video_Player-Substitution-mpv-.kshrc | 6++++++
Mpanel-scripts/metoffice.sh | 2+-
Mterminal-scripts/qmount.sh | 2+-
7 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,4 +1,4 @@ -terminal-scripts/soundboard/go.sum +/terminal-scripts/soundboard/go.sum Colourscheme-Substitution-* -helpers/colours/newThemes.txt -temp_programs/ +/helpers/colours/newThemes.txt +/temp_programs/ diff --git a/README.md b/README.md @@ -13,11 +13,13 @@ More information about specific WM/DE setups can be found below, both the dotfil ![JWM Pi 3B+ setup screenshot](screenshots/fastfetch.png) -## Window Managers/Desktop Environments +## General Setup Guide -* [JWM (Raspberry Pi)] - [Website](https://www.regexghost.com/linux/jwm) -* [i3](i3/README.md) - [Website](https://www.regexghost.com/linux/i3) -* [KDE](kde/README.md) - [Website](https://www.regexghost.com/linux/kde) +`./init.sh` +`./setup.sh make dotfiles` +`./setup.sh make <wm/de>` +`./otherPrograms.sh mine` +`./otherPrograms.sh notmine` (will take a while, checks with user after every command) ## Colour Schemes diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc @@ -30,13 +30,13 @@ alias n='nano' alias py='python3' alias sq='ncdu --color off' # Not sure why this is "sq" but I'm used to it now alias bat='bat --wrap word --theme=base16' +alias b='bat' alias mv='mymv' alias cp='cp -r -i' +alias cl='ln -s' alias duf='duf -hide special' alias rm='rm-trash' alias zbr='zig build run' -alias cl='ln -s' -alias b='bat' alias dud='du -s -h *' # Not POSIX compliant @@ -281,8 +281,8 @@ archiveplaylist () { # Search commands -alias hs='nl ~/.history' -alias his='nl ~/.history | grep' +alias hs="fc -l 0 100000 | sed 's/[^[:print:]\n ]//g'" +alias his='hs | grep' ## Search root directory findr () { diff --git a/dotfiles/.profile b/dotfiles/.profile @@ -27,7 +27,7 @@ export BUG_PROJECT="$XDG_DATA_HOME/regexghost/todo-bug" export EDITOR="vi" export VISUAL="nano" -export PAGER="bat --wrap word --theme=base16 --paging always" +export PAGER="bat --wrap=word --theme=base16 --paging=always" export BROWSER="firefox" export PATH=~/.local/bin:$PATH:~/.npm/bin:~/.local/share/npm/bin:~/.local/share/go/bin:~/.local/share/cargo/bin export TERMINAL="st" diff --git a/dotfiles/Video_Player-Substitution-mpv-.kshrc b/dotfiles/Video_Player-Substitution-mpv-.kshrc @@ -0,0 +1,6 @@ +#### Start Substitute - Video_Player +# Open video(s) with mpv +mp () { + setsid /usr/bin/mpv "$@" 2> /dev/null & +} +#### End Substitute diff --git a/panel-scripts/metoffice.sh b/panel-scripts/metoffice.sh @@ -10,7 +10,7 @@ lat=$(cat "$curLocationFile" | cut -d "|" -f 1) lon=$(cat "$curLocationFile" | cut -d "|" -f 2) geohash=$(geohash $lat $lon 9) today_string="$(date "+%Y-%m-%d")" -if date --version 2>1 | grep -q "GNU coreutils" > /dev/null; then +if date --version 2>&1 | grep -q "GNU coreutils" > /dev/null; then tomorrow_string="$(date -d @$(($(date +%s)+86400)) "+%Y-%m-%d")" second_day_string="$(date -d @$(($(date +%s)+86400+86400)) "+%Y-%m-%d")" else diff --git a/terminal-scripts/qmount.sh b/terminal-scripts/qmount.sh @@ -16,7 +16,7 @@ mount () { chosen_mount_point="$(echo "$mount_points" | fzf | sed "s|~|$HOME|")" [ "$chosen_mount_point" = "" ] && exit args="" - if [ "$chosen_fstype" = "vfat" ]; then + if [ "$chosen_fstype" = "vfat" ] || [ "$chosen_fstype" = "exfat" ]; then args="-o rw,users,umask=000" fi sudo mount $args "/dev/${chosen_partition}" "$chosen_mount_point" && notify-send "Mounted Successfully" || notify-send "Mount Failed"