dotfiles

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

commit c213ed4877c433688b538e8c755dd43f98ea9a0f
parent f57dd76edc355e5b9839cb9824fe85ec2121f532
Author: regexghost <dev@regexghost.com>
Date:   Fri, 17 Jul 2026 18:04:44 +0100

added windows USB guide, other minor changes

Diffstat:
MREADME.md | 9+++++++++
Mapt-install.sh | 2+-
Mguides/samba.md | 2++
Aguides/windowsFromLinux.md | 72++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MotherPrograms.sh | 6+++---
Rpanel-scripts/music.sh -> panel-scripts/music-moc.sh | 0
6 files changed, 87 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -23,3 +23,12 @@ More information about specific WM/DE setups can be found below, both the dotfil Before loading the dotfiles, navigates to `helpers/colours/` and run `make.sh *colourscheme*`, where `*colourscheme*` is a scheme in `helpers/colours/schemes/` (without the `.sh`) This will place relevant colourschemee substitution files in the correct directories to be loaded with the config files. These files aren't tracked in the repo as there a) there is a large number of them and b) they can be generated programatically from the `schemes/` files. + +## Guides + +[Arch install](/guides/archInstallGuide.md) +[Firefox setup](/guides/firefox.md) +[New git repo (GitHub)](/guides/git.md) +[Windows ISO USB](/guides/windowsFromLinux.md) +[Samba setup](/guides/samba.md) +[Some useful commands](/guides/commands.txt) diff --git a/apt-install.sh b/apt-install.sh @@ -1,3 +1,3 @@ #!/bin/sh -sudo apt install curl wget golang xorg xinit x11-xserver-utils bluetooth unzip git firefox mpv vlc tar moc fasd fonts-roboto fonts-firacode figlet jq xcompmgr picom trash-cli ncdu pulsemixer feh moc-ffmpeg-plugin keepassxc-full fzf libnotify-bin dunst texinfo xmlstarlet duf gh tidy w3m bluetooth xclip wbritish wbritish-huge rsync pup rename ifuse libimobiledevice-utils chromium groff xdotool pulseaudio-module-bluetooth sqlite3 expect aria2 gammastep gthumb +sudo apt install curl wget golang xorg xinit x11-xserver-utils bluetooth unzip git firefox-esr mpv vlc tar moc fasd fonts-roboto fonts-firacode figlet jq xcompmgr picom trash-cli ncdu pulsemixer feh moc-ffmpeg-plugin keepassxc-full fzf libnotify-bin dunst texinfo xmlstarlet duf gh tidy w3m bluetooth xclip wbritish wbritish-huge rsync pup rename ifuse libimobiledevice-utils chromium groff xdotool pulseaudio-module-bluetooth sqlite3 expect aria2 gammastep qimgv kimageformat-plugins kimageformat6-plugins nomacs mediainfo mpd mpc htop diff --git a/guides/samba.md b/guides/samba.md @@ -1,5 +1,7 @@ # Samba Setup +https://pimylifeup.com/raspberry-pi-samba/ + `sudo apt install samba samba-common-bin` `sudo nano /etc/samba/smb.conf` `sudo smbpasswd -a <username>` diff --git a/guides/windowsFromLinux.md b/guides/windowsFromLinux.md @@ -0,0 +1,72 @@ +# Windows Install from Linux + +https://serverfault.com/questions/1191017/how-to-make-windows-10-11-usb-flash-install-media-from-linux/1191018#1191018 + +https://nixaid.com/archive/article/bootable-usb-windows-linux?era=ghost + +How to make a USB drive with a Windows ISO, that can install Windows, from a Linux system. You can use WoeUSB or Ventoy but this is the lower-level, fewer-dependancies way of doing it + +Note that while this works to get a bootable USB, often the USB can't see my drives and asks for extra drivers. This seems to be a problem with Windows USBs made from Linux, so it's still best to make them from Windows where possible. + +## Partition Setup + +`sudo fdisk /dev/<drive>` + +``` +o +w +``` + +`sudo fdisk /dev/<drive>` + +``` +n +p +1 +<enter> ++1G +n +p +2 +<enter> +<enter> +w +``` + +`sudo mkfs.fat -F32 -n "BOOT" /dev/<drive>` +`sudo mkfs.ntfs -Q -L "INSTALL /dev/<drive>"` + +## Mount ISO + +`sudo modprobe loop` +`mkdir isomount` +`sudo mount windows.iso isomount/` + +https://askubuntu.com/questions/634501/cant-mount-iso-file-as-loop-device-error-failed-to-setup-loop-device + +## BOOT Partition + +`sudo mount -o rw,users,umask=000 /dev/<drive>1 usbmount/` + +Copy all but `sources/` + +`cp -r isomount/boot isomount/efi isomount/support isomount/autorun.inf isomount/bootmgfw.efi isomount/bootmgr isomount/bootmgr.efi isomount/__chunk_data isomount/setup.exe usbmount/` + +Then copy only `boot.wim` from `sources/` + +`mkdir usbmount/sources` +`cp isomount/sources/boot.wim usbmount/sources` + +`sudo umount usbmount/` + +## INSTALL Partition + +`sudo mount /dev/<drive>2 usbmount/` +`cp isomount/* usbmount/` +`sudo umount usbmount/` + +`sudo umount isomount/` + +`sync` + +`udisksctl power-off -b /dev/<drive>` diff --git a/otherPrograms.sh b/otherPrograms.sh @@ -18,7 +18,7 @@ cd temp_programs [ -d patches/ ] || git clone https://github.com/regexghost/patches # dev tools -sudo apt install git make gcc automake unzip gettext autopoint pkg-config cmake libtool build-essential +sudo apt install git make gcc automake cmake meson unzip gettext autopoint pkg-config libtool build-essential jwm () { sudo apt install libxext-dev libxmu-dev libxinerama-dev libxpm-dev libjpeg-dev libpng-dev libpango1.0-dev @@ -428,14 +428,14 @@ cal () { } zathura () { - sudo apt install ninja meson mupdf libxxhash-dev libmagic-dev libgtk-4-dev xorg-dev libxcursor-dev libxrandr-dev libxinerama-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev + sudo apt install libxxhash-dev libmagic-dev libgtk-4-dev xorg-dev libxcursor-dev libxrandr-dev libxinerama-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev git clone https://github.com/ArtifexSoftware/mupdf cd mupdf git checkout 205b8cf git submodule update --init make XCFLAGS=-fPIC XCXXFLAGS=-fPIC - make install --prefix=/usr/local + sudo make install cd .. mkdir girara diff --git a/panel-scripts/music.sh b/panel-scripts/music-moc.sh