summaryrefslogtreecommitdiff
path: root/dotfiles/common
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/common')
-rw-r--r--dotfiles/common/.Xresources87
-rw-r--r--dotfiles/common/.bashrc.d/media.sh8
-rw-r--r--dotfiles/common/.config/dunst/dunstrc26
-rw-r--r--dotfiles/common/.config/sublime-merge/Local/License.sublime_licensebin394 -> 0 bytes
-rw-r--r--dotfiles/common/.gnupg/gpg-agent.conf18
-rw-r--r--dotfiles/common/.gnupg/pinentry-dmenu.conf10
-rwxr-xr-xdotfiles/common/.local/bin/dotfiles_pushall6
-rwxr-xr-xdotfiles/common/.local/bin/lsbak1
-rwxr-xr-xdotfiles/common/.local/bin/org-protocol-setup9
-rwxr-xr-xdotfiles/common/.local/bin/project100
-rwxr-xr-xdotfiles/common/.local/bin/protonvpn3
-rwxr-xr-xdotfiles/common/.local/bin/resetmimetypes123
-rwxr-xr-xdotfiles/common/.local/bin/steam2
-rwxr-xr-xdotfiles/common/.local/bin/sudo-update-grub1
-rwxr-xr-xdotfiles/common/.local/bin/sysupdate5
-rwxr-xr-xdotfiles/common/.local/bin/transadd9
-rwxr-xr-xdotfiles/common/.local/bin/update-backup-repositories56
-rwxr-xr-xdotfiles/common/.local/bin/virtstart8
-rwxr-xr-xdotfiles/common/.local/bin/ytp1
-rw-r--r--dotfiles/common/.local/share/applications/dwm.desktop7
-rw-r--r--dotfiles/common/.local/share/applications/emacsclient-mail.desktop20
-rw-r--r--dotfiles/common/.local/share/applications/file.desktop4
-rw-r--r--dotfiles/common/.local/share/applications/img.desktop4
-rw-r--r--dotfiles/common/.local/share/applications/lock-screen.desktop7
-rw-r--r--dotfiles/common/.local/share/applications/logout.desktop7
-rw-r--r--dotfiles/common/.local/share/applications/mail.desktop4
-rw-r--r--dotfiles/common/.local/share/applications/pdf.desktop4
-rw-r--r--dotfiles/common/.local/share/applications/reboot.desktop7
-rw-r--r--dotfiles/common/.local/share/applications/shutdown.desktop7
-rw-r--r--dotfiles/common/.local/share/applications/suspend.desktop7
-rw-r--r--dotfiles/common/.local/share/applications/text.desktop4
-rw-r--r--dotfiles/common/.zshrc.d/media.sh8
32 files changed, 74 insertions, 489 deletions
diff --git a/dotfiles/common/.Xresources b/dotfiles/common/.Xresources
index d149a72..96e4803 100644
--- a/dotfiles/common/.Xresources
+++ b/dotfiles/common/.Xresources
@@ -1,68 +1,69 @@
-!! X Resources - Dupre theme
-!! Warm, earthy colors from dupre-theme.el
+!! X Resources - Hudson theme
+!! Tomorrow Night + Goldenrod accent
!! For X11 applications (st, xterm, etc.) and Emacs
!! X Font Settings
Xft.dpi: 109
-Xcursor.size: 32
-Xcursor.theme: Vimix-white-cursors
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
+Xcursor.size: 32
+Xcursor.theme: Vimix-white-cursors
!! Emacs
Emacs*toolBar: 0
!! ============================================================================
-!! Dupre Theme Colors
+!! Hudson Theme Colors (Tomorrow Night + Goldenrod)
!! ============================================================================
-#define dupre_fg #f0fef0
-#define dupre_bg #151311
-#define dupre_black #252321
-#define dupre_red #d47c59
-#define dupre_green #a4ac64
-#define dupre_yellow #d7af5f
-#define dupre_blue #67809c
-#define dupre_magenta #b294bb
-#define dupre_cyan #8a9496
-#define dupre_white #d0cbc0
-#define dupre_br_black #474544
-#define dupre_br_red #edb08f
-#define dupre_br_green #ccc768
-#define dupre_br_yellow #ffd75f
-#define dupre_br_blue #b2c3cc
-#define dupre_br_magenta #c397d8
-#define dupre_br_cyan #acb0b3
-#define dupre_br_white #f0fef0
+#define hudson_fg #eeeeee
+#define hudson_bg #222222
+#define hudson_black #222222
+#define hudson_red #cc6666
+#define hudson_green #b5bd68
+#define hudson_yellow #f0c674
+#define hudson_blue #81a2be
+#define hudson_magenta #b294bb
+#define hudson_cyan #8abeb7
+#define hudson_white #c5c8c6
+#define hudson_br_black #444444
+#define hudson_br_red #d54e53
+#define hudson_br_green #b9ca4a
+#define hudson_br_yellow #e0b040
+#define hudson_br_blue #7aa6da
+#define hudson_br_magenta #c397d8
+#define hudson_br_cyan #70c0b1
+#define hudson_br_white #eeeeee
!! Active theme aliases
-#define theme_fg dupre_fg
-#define theme_bg dupre_bg
-#define theme_black dupre_black
-#define theme_red dupre_red
-#define theme_green dupre_green
-#define theme_yellow dupre_yellow
-#define theme_blue dupre_blue
-#define theme_magenta dupre_magenta
-#define theme_cyan dupre_cyan
-#define theme_white dupre_white
-#define theme_br_black dupre_br_black
-#define theme_br_red dupre_br_red
-#define theme_br_green dupre_br_green
-#define theme_br_yellow dupre_br_yellow
-#define theme_br_blue dupre_br_blue
-#define theme_br_magenta dupre_br_magenta
-#define theme_br_cyan dupre_br_cyan
-#define theme_br_white dupre_br_white
+#define theme_fg hudson_fg
+#define theme_bg hudson_bg
+#define theme_black hudson_black
+#define theme_red hudson_red
+#define theme_green hudson_green
+#define theme_yellow hudson_yellow
+#define theme_blue hudson_blue
+#define theme_magenta hudson_magenta
+#define theme_cyan hudson_cyan
+#define theme_white hudson_white
+#define theme_br_black hudson_br_black
+#define theme_br_red hudson_br_red
+#define theme_br_green hudson_br_green
+#define theme_br_yellow hudson_br_yellow
+#define theme_br_blue hudson_br_blue
+#define theme_br_magenta hudson_br_magenta
+#define theme_br_cyan hudson_br_cyan
+#define theme_br_white hudson_br_white
!! ============================================================================
!! ST (suckless terminal) settings
-st.font: BerkeleyMono Nerd Font:size=12
+!! size is in points (fontconfig syntax)
+st.font: BerkeleyMono Nerd Font:size=13
st.background: theme_bg
st.foreground: theme_fg
st.color0: theme_black
@@ -83,7 +84,7 @@ st.color14: theme_br_cyan
st.color15: theme_br_white
!! XTerm settings
-XTerm*faceName: BerkeleyMono Nerd Font:size=12
+XTerm*faceName: BerkeleyMono Nerd Font:size=13
XTerm*selectToClipboard: true
XTerm*background: theme_bg
XTerm*foreground: theme_fg
diff --git a/dotfiles/common/.bashrc.d/media.sh b/dotfiles/common/.bashrc.d/media.sh
index 92fe2ce..a5d54f1 100644
--- a/dotfiles/common/.bashrc.d/media.sh
+++ b/dotfiles/common/.bashrc.d/media.sh
@@ -18,12 +18,12 @@ alias ttdl="tsp tidal-dl -l"
# YouTube (yt-dlp)
# =============================================================================
# Video - single
-alias yt="yt-dlp --ignore-config --no-playlist --add-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
-alias tyt="tsp yt-dlp --ignore-config --no-playlist --add-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
+alias yt="yt-dlp --ignore-config --no-playlist --embed-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
+alias tyt="tsp yt-dlp --ignore-config --no-playlist --embed-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
# Video - playlist
-alias ytp="yt-dlp --ignore-config --yes-playlist --add-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
-alias tytp="tsp yt-dlp --ignore-config --yes-playlist --add-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
+alias ytp="yt-dlp --ignore-config --yes-playlist --embed-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
+alias tytp="tsp yt-dlp --ignore-config --yes-playlist --embed-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
# Audio - single
alias yta="yt-dlp --ignore-config --no-playlist -x -f bestaudio/best -o '%(artist)s-%(title)s.%(ext)s'"
diff --git a/dotfiles/common/.config/dunst/dunstrc b/dotfiles/common/.config/dunst/dunstrc
index 104df28..2cbf0e6 100644
--- a/dotfiles/common/.config/dunst/dunstrc
+++ b/dotfiles/common/.config/dunst/dunstrc
@@ -1,5 +1,5 @@
-# Dunst config - Dupre theme
-# Warm, earthy colors from dupre-theme.el
+# Dunst config - Hudson theme
+# Tomorrow Night + Goldenrod accent
[global]
# Display
@@ -21,13 +21,13 @@ corner_radius = 10
progress_bar_frame_width = 0
progress_bar_corner_radius = 3
-# Colors - Dupre theme
-foreground = "#f0fef0"
-frame_color = "#d7af5f"
-highlight = "#d7af5f, #ccc768"
+# Colors - Hudson theme
+foreground = "#eeeeee"
+frame_color = "#daa520"
+highlight = "#daa520, #f0c674"
-# Text
-font = BerkeleyMono Nerd Font 11
+# Text (size in points, Pango syntax)
+font = BerkeleyMono Nerd Font 13
markup = full
format = "<small>%a</small>\n<b>%s</b>\n%b"
alignment = left
@@ -50,18 +50,18 @@ mouse_middle_click = do_action, close_current
mouse_right_click = close_all
[urgency_low]
-background = "#151311f0"
+background = "#222222f0"
timeout = 3
[urgency_normal]
-background = "#151311f0"
+background = "#222222f0"
timeout = 8
[urgency_critical]
-background = "#7c2a09f0"
-frame_color = "#d47c59"
+background = "#cc6666f0"
+frame_color = "#d54e53"
highlight = "#ff2a00"
-foreground = "#f0fef0"
+foreground = "#eeeeee"
timeout = 0
[fullscreen_delay_everything]
diff --git a/dotfiles/common/.config/sublime-merge/Local/License.sublime_license b/dotfiles/common/.config/sublime-merge/Local/License.sublime_license
deleted file mode 100644
index 69d2755..0000000
--- a/dotfiles/common/.config/sublime-merge/Local/License.sublime_license
+++ /dev/null
Binary files differ
diff --git a/dotfiles/common/.gnupg/gpg-agent.conf b/dotfiles/common/.gnupg/gpg-agent.conf
deleted file mode 100644
index 6448665..0000000
--- a/dotfiles/common/.gnupg/gpg-agent.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-# Pinentry configuration
-pinentry-program /usr/bin/pinentry-dmenu
-pinentry-timeout 10
-allow-loopback-pinentry
-
-# Cache passphrases for entire login session (400 days)
-default-cache-ttl 34560000
-max-cache-ttl 34560000
-
-# Enable SSH support (use gpg-agent for SSH keys too)
-enable-ssh-support
-
-# Prevent external programs from clearing cache
-no-allow-external-cache
-
-# Keep running even when no connections
-keep-display
-keep-tty
diff --git a/dotfiles/common/.gnupg/pinentry-dmenu.conf b/dotfiles/common/.gnupg/pinentry-dmenu.conf
deleted file mode 100644
index ccd4d55..0000000
--- a/dotfiles/common/.gnupg/pinentry-dmenu.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-asterisk= "* ";
-prompt = "$";
-font = "BerkeleyMono Nerd Font:size=12";
-prompt_fg = "#eeeeee";
-prompt_bg = "#d9904a";
-normal_fg = "#ffffff";
-normal_bg = "#000000";
-select_fg = "#eeeeee";
-select_bg = "#d9904a";
-desc_fg = "#eeeeee";
diff --git a/dotfiles/common/.local/bin/dotfiles_pushall b/dotfiles/common/.local/bin/dotfiles_pushall
deleted file mode 100755
index 3eef2c6..0000000
--- a/dotfiles/common/.local/bin/dotfiles_pushall
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-# Craig Jennings <craigmartinjennings@gmail.com>
-# tired of pushing to multiple locations with multiple commands
-/usr/bin/git --git-dir="$HOME"/.dotfiles/ --work-tree="$HOME" push origin main && \
-/usr/bin/git --git-dir="$HOME"/.dotfiles/ --work-tree="$HOME" push source main && \
-/usr/bin/git --git-dir="$HOME"/.dotfiles/ --work-tree="$HOME" push github main
diff --git a/dotfiles/common/.local/bin/lsbak b/dotfiles/common/.local/bin/lsbak
deleted file mode 100755
index 7803135..0000000
--- a/dotfiles/common/.local/bin/lsbak
+++ /dev/null
@@ -1 +0,0 @@
-ls -laF /media/backup/renovo
diff --git a/dotfiles/common/.local/bin/org-protocol-setup b/dotfiles/common/.local/bin/org-protocol-setup
new file mode 100755
index 0000000..5ed86a7
--- /dev/null
+++ b/dotfiles/common/.local/bin/org-protocol-setup
@@ -0,0 +1,9 @@
+#!/bin/sh
+# org-protocol-setup
+# Craig Jennings <c@cjennings.net>
+# Register org-protocol scheme handler for Emacs capture
+
+xdg-mime default org-protocol.desktop x-scheme-handler/org-protocol
+update-desktop-database ~/.local/share/applications/
+
+echo "org-protocol handler registered for Emacs"
diff --git a/dotfiles/common/.local/bin/project b/dotfiles/common/.local/bin/project
deleted file mode 100755
index cf5918d..0000000
--- a/dotfiles/common/.local/bin/project
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/usr/bin/env bash
-
-echo ""
-
-# Check parameter
-if [ "$#" -ne 1 ] || [ "$1" != "start" ] && [ "$1" != "end" ]; then
- echo "This script must be called with either 'start' or 'end' as a parameter."
- exit 1
-fi
-
-CHECK_MARK="\033[0;32m\xE2\x9C\x94\033[0m"
-CLEAR_LINE="\033[1K"
-
-# Define directories to process
-project_dirs="$HOME/projects"
-code_dirs="$HOME/code"
-sync_dirs="$HOME/sync"
-
-
-# Git pull quietly unless there's an error
-git_maybe_pull() {
- git fetch --quiet
- if ! git diff --quiet HEAD FETCH_HEAD; then
- git pull --quiet
-
- # clear line and message
- echo -ne "\033[1K"
- echo -e "\\rpulled remote changes into $1"
- fi
-}
-
-# Git stash quietly unless there's an error
-git_stash () {
- git stash > /dev/null 2>&1 || \
- echo "git stash error in $1: $? "
-}
-
-# Git stash pop quietly unless there's an error
-git_stash_pop () {
- git stash pop > /dev/null 2>&1 || \
- echo "git stash error in $1: $? "
-}
-
-# Function to process a directory
-process_directory() {
- if [ -d "$1/.git" ]; then
- # Check remote repository
- cd "$1"
-
- # skip URLs with http/s URLS as they're directories cloned for reference only
- # skip git directories with no remote repository associated as well
- remote_url=$(git config --get remote.origin.url)
- if [ -n "$remote_url" ]; then
- # if remote URL is http or https or empty, skip the directory
- if [ -z "$remote_url" ] || echo "$remote_url" | grep -E -q "^(http|https)://"; then
- return
- fi
-
- # clear line and update directory
- echo -ne "$CLEAR_LINE"
- echo -ne "\\rchecking: $1 "
-
- if [ "$2" = "start" ]; then
- if [ -n "$(git status --porcelain)" ]; then
- # notify user of uncommitted work
- echo ""; echo ">>>> uncommitted work found in $1";
-
- # git stash, pull latest files, then pop uncommitted work
- git_stash "$1"
- git_maybe_pull "$1"
- git_stash_pop "$1"
- else
- # retrieve any latest changes
- git_maybe_pull "$1"
- fi
- elif [ "$2" = "end" ]; then
- # Check for uncommitted work
- if [ -n "$(git status --porcelain)" ]; then
- echo ""; echo ">>>> Uncommitted work found in $1. <<<<"; echo ""
- fi
- return # Skip pulling changes
- fi
- fi
- fi
-}
-
-# Process directories
-for directory in "$project_dirs"/*; do
- process_directory "$directory" "$1"
-done
-for directory in "$sync_dirs"/*; do
- process_directory "$directory" "$1"
-done
-for directory in "$code_dirs"/*; do
- process_directory "$directory" "$1"
-done
-
-# clear line and message finished
-echo -ne "\033[1K"
-echo -ne "\\rfinished.\n"
diff --git a/dotfiles/common/.local/bin/protonvpn b/dotfiles/common/.local/bin/protonvpn
deleted file mode 100755
index 0f24068..0000000
--- a/dotfiles/common/.local/bin/protonvpn
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-flatpak run com.protonvpn.www \ No newline at end of file
diff --git a/dotfiles/common/.local/bin/resetmimetypes b/dotfiles/common/.local/bin/resetmimetypes
deleted file mode 100755
index e2e8f06..0000000
--- a/dotfiles/common/.local/bin/resetmimetypes
+++ /dev/null
@@ -1,123 +0,0 @@
-#!/bin/bash
-# resetmimetypes - Reset MIME type associations to preferred defaults
-# Run after package updates that may have overwritten associations
-
-# Remove old databases to force regeneration
-rm ~/.config/mimeapps.list 2>/dev/null
-rm ~/.local/share/applications/mimeinfo.cache 2>/dev/null
-rm ~/.local/share/applications/mimeinfo.list 2>/dev/null
-
-# Directories: Nautilus
-xdg-mime default org.gnome.Nautilus.desktop inode/directory
-
-# Audio: mpv
-xdg-mime default mpv.desktop audio/basic
-xdg-mime default mpv.desktop audio/flac
-xdg-mime default mpv.desktop audio/mp4
-xdg-mime default mpv.desktop audio/mpeg
-xdg-mime default mpv.desktop audio/ogg
-xdg-mime default mpv.desktop audio/opus
-xdg-mime default mpv.desktop audio/vnd.rn-realaudio
-xdg-mime default mpv.desktop audio/vnd.wav
-xdg-mime default mpv.desktop audio/vorbis
-xdg-mime default mpv.desktop audio/x-aiff
-xdg-mime default mpv.desktop audio/x-mpegurl
-xdg-mime default mpv.desktop audio/x-wav
-
-# Video: VLC
-xdg-mime default vlc.desktop application/ogg
-xdg-mime default vlc.desktop application/vnd.apple.mpegurl
-xdg-mime default vlc.desktop video/avi
-xdg-mime default vlc.desktop video/divx
-xdg-mime default vlc.desktop video/flv
-xdg-mime default vlc.desktop video/mp4
-xdg-mime default vlc.desktop video/mp4v-es
-xdg-mime default vlc.desktop video/mpeg
-xdg-mime default vlc.desktop video/ogg
-xdg-mime default vlc.desktop video/quicktime
-xdg-mime default vlc.desktop video/webm
-xdg-mime default vlc.desktop video/x-avi
-xdg-mime default vlc.desktop video/x-flv
-xdg-mime default vlc.desktop video/x-m4v
-xdg-mime default vlc.desktop video/x-matroska
-xdg-mime default vlc.desktop video/x-mpeg
-xdg-mime default vlc.desktop video/x-ms-wmv
-xdg-mime default vlc.desktop video/x-msvideo
-xdg-mime default vlc.desktop x-content/video-dvd
-
-# Images: feh
-xdg-mime default feh.desktop image/bmp
-xdg-mime default feh.desktop image/gif
-xdg-mime default feh.desktop image/jpeg
-xdg-mime default feh.desktop image/jpg
-xdg-mime default feh.desktop image/png
-xdg-mime default feh.desktop image/tiff
-xdg-mime default feh.desktop image/webp
-xdg-mime default feh.desktop image/x-bmp
-xdg-mime default feh.desktop image/x-ico
-xdg-mime default feh.desktop image/x-icon
-
-# Torrents: Transmission Remote
-xdg-mime default io.github.TransmissionRemoteGtk.desktop application/x-bittorrent
-xdg-mime default io.github.TransmissionRemoteGtk.desktop x-scheme-handler/magnet
-
-# Web: Chrome
-xdg-mime default com.google.Chrome.desktop application/rdf+xml
-xdg-mime default com.google.Chrome.desktop application/rss+xml
-xdg-mime default com.google.Chrome.desktop application/xhtml+xml
-xdg-mime default com.google.Chrome.desktop application/xml
-xdg-mime default com.google.Chrome.desktop text/html
-xdg-mime default com.google.Chrome.desktop text/xml
-xdg-mime default com.google.Chrome.desktop x-scheme-handler/http
-xdg-mime default com.google.Chrome.desktop x-scheme-handler/https
-
-# Ebooks (mobi): Calibre
-xdg-mime default calibre-ebook-viewer.desktop application/x-mobi8-ebook
-xdg-mime default calibre-ebook-viewer.desktop application/x-mobipocket-ebook
-
-# Text/Code: Emacsclient
-xdg-mime default emacsclient.desktop application/x-shellscript
-xdg-mime default emacsclient.desktop text/english
-xdg-mime default emacsclient.desktop text/markdown
-xdg-mime default emacsclient.desktop text/plain
-xdg-mime default emacsclient.desktop text/x-c
-xdg-mime default emacsclient.desktop text/x-c++
-xdg-mime default emacsclient.desktop text/x-c++hdr
-xdg-mime default emacsclient.desktop text/x-c++src
-xdg-mime default emacsclient.desktop text/x-chdr
-xdg-mime default emacsclient.desktop text/x-csrc
-xdg-mime default emacsclient.desktop text/x-java
-xdg-mime default emacsclient.desktop text/x-makefile
-xdg-mime default emacsclient.desktop text/x-pascal
-xdg-mime default emacsclient.desktop text/x-tcl
-xdg-mime default emacsclient.desktop text/x-tex
-
-# PDF/EPUB/Documents: Zathura
-xdg-mime default org.pwmt.zathura.desktop application/epub+zip
-xdg-mime default org.pwmt.zathura.desktop application/pdf
-xdg-mime default org.pwmt.zathura.desktop application/postscript
-xdg-mime default org.pwmt.zathura.desktop image/vnd.djvu
-xdg-mime default org.pwmt.zathura.desktop image/vnd.djvu+multipage
-
-# Comics: Zathura
-xdg-mime default org.pwmt.zathura.desktop application/vnd.comicbook+zip
-xdg-mime default org.pwmt.zathura.desktop application/vnd.comicbook-rar
-
-# Office documents: LibreOffice Writer
-xdg-mime default libreoffice-writer.desktop application/msword
-xdg-mime default libreoffice-writer.desktop application/rtf
-xdg-mime default libreoffice-writer.desktop application/vnd.ms-word
-xdg-mime default libreoffice-writer.desktop application/vnd.oasis.opendocument.text
-xdg-mime default libreoffice-writer.desktop application/vnd.openxmlformats-officedocument.wordprocessingml.document
-xdg-mime default libreoffice-writer.desktop text/rtf
-
-# FTP: FileZilla
-xdg-mime default filezilla.desktop x-scheme-handler/ftp
-
-# Org-Protocol: Emacsclient
-xdg-mime default org-protocol.desktop x-scheme-handler/org-protocol
-
-# Regenerate database
-update-desktop-database ~/.local/share/applications/
-
-echo "MIME associations reset."
diff --git a/dotfiles/common/.local/bin/steam b/dotfiles/common/.local/bin/steam
deleted file mode 100755
index 3d30238..0000000
--- a/dotfiles/common/.local/bin/steam
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-flatpak run com.valvesoftware.Steam >> "$HOME/.local/var/logs/steam.log" 2>&1
diff --git a/dotfiles/common/.local/bin/sudo-update-grub b/dotfiles/common/.local/bin/sudo-update-grub
deleted file mode 100755
index 5d67823..0000000
--- a/dotfiles/common/.local/bin/sudo-update-grub
+++ /dev/null
@@ -1 +0,0 @@
-sudo grub-mkconfig -o /boot/grub/grub.cfg
diff --git a/dotfiles/common/.local/bin/sysupdate b/dotfiles/common/.local/bin/sysupdate
deleted file mode 100755
index 357348d..0000000
--- a/dotfiles/common/.local/bin/sysupdate
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-# Craig Jennings <c@cjennings.net>
-
-
-yay -Syu --noconfirm \ No newline at end of file
diff --git a/dotfiles/common/.local/bin/transadd b/dotfiles/common/.local/bin/transadd
deleted file mode 100755
index a598fad..0000000
--- a/dotfiles/common/.local/bin/transadd
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# Mimeapp script for adding torrent to transmission-daemon, but will also start the daemon first if not running.
-
-# transmission-daemon sometimes fails to take remote requests in its first moments, hence the sleep.
-
-pidof transmission-daemon >/dev/null || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-dwmblocks}")
-
-transmission-remote -a "$@" && notify-send "🔽 Torrent added."
diff --git a/dotfiles/common/.local/bin/update-backup-repositories b/dotfiles/common/.local/bin/update-backup-repositories
deleted file mode 100755
index a91b438..0000000
--- a/dotfiles/common/.local/bin/update-backup-repositories
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-# Craig Jennings <c@cjennings.net>
-# updates or clones repositories for backup
-
-REPOS_HOME="/media/backup/repositories/"
-
-# Create REPOS_HOME dir if not exists
-if [ ! -d "$REPOS_HOME" ]; then
- mkdir -p "$REPOS_HOME"
-fi
-
-# Make sure REPOS_HOME dir is writable
-if [ ! -w "$REPOS_HOME" ]; then
- echo "Directory $REPOS_HOME is not writable."
- exit 1
-fi
-
-# Make sure git is available
-if ! command -v git >/dev/null 2>&1; then
- echo "Git command does not exist. Please install git."
- exit 1
-fi
-
-cd "$REPOS_HOME"
-
-repos="
-git@cjennings.net:archsetup.git
-git@cjennings.net:dmenu.git
-git@cjennings.net:dotemacs.git
-git@cjennings.net:dotfiles.git
-git@cjennings.net:dwm.git
-git@cjennings.net:pinentry-dmenu.git
-git@cjennings.net:rsyncshot.git
-git@cjennings.net:st.git
-git@github.com:cjennings/emacs-wttrin.git
-https://github.com/d12frosted/elpa-mirror.git
-https://github.com/mirrors/emacs.git
-"
-
-for repo in $repos; do
- dir=$(echo "$repo" | awk -F'[/:]' '{gsub(/.git/, "", $NF); print $NF}')
- # Note on the above awk command:
- # awk -F'[/:]': uses awk with a regex field delimiter that matches both : and /
- # which will work with both ssh and http style URLs.
- # '{gsub(/.git/, "", $NF); print $NF}: This removes the ".git" postfixes from the last field ($NF)
- # which leaves only the repo name.
-
- fullpath="$REPOS_HOME$dir"
- if [ -d "$fullpath" ]; then
- echo "Repository $dir exists at $fullpath, pulling..."
- (cd "$fullpath" && git pull)
- else
- echo "Repository $dir doesn't exist at $fullpath, cloning..."
- cd "$REPOS_HOME" && git clone --depth 1 "$repo" "$fullpath"
- fi
-done
diff --git a/dotfiles/common/.local/bin/virtstart b/dotfiles/common/.local/bin/virtstart
deleted file mode 100755
index f9a326f..0000000
--- a/dotfiles/common/.local/bin/virtstart
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-# launch a virtual machine in fullscreen.
-# the argument is the machine name
-
-export LIBVIRT_DEFAULT_URI="qemu:///system"
-
-/usr/bin/virsh start $1
-/usr/bin/virt-viewer -f -w -a $1
diff --git a/dotfiles/common/.local/bin/ytp b/dotfiles/common/.local/bin/ytp
deleted file mode 100755
index c24d50f..0000000
--- a/dotfiles/common/.local/bin/ytp
+++ /dev/null
@@ -1 +0,0 @@
-yt-dlp --ignore-config --yes-playlist --embed-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s' $1 $2 $3 $4
diff --git a/dotfiles/common/.local/share/applications/dwm.desktop b/dotfiles/common/.local/share/applications/dwm.desktop
deleted file mode 100644
index ba3bd00..0000000
--- a/dotfiles/common/.local/share/applications/dwm.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=dwm
-Comment=It's fucking DWM, asshole.
-Exec=startdwm
-Icon=dwm
-Type=XSession \ No newline at end of file
diff --git a/dotfiles/common/.local/share/applications/emacsclient-mail.desktop b/dotfiles/common/.local/share/applications/emacsclient-mail.desktop
deleted file mode 100644
index 6efcf61..0000000
--- a/dotfiles/common/.local/share/applications/emacsclient-mail.desktop
+++ /dev/null
@@ -1,20 +0,0 @@
-[Desktop Entry]
-Categories=Network;Email;
-Comment=Emacs is my mail client
-Exec=sh -c "exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" --eval \\\\(message-mailto\\\\ \\\\\\"%u\\\\\\"\\\\)"
-Icon=emacs
-Name=Emacs (Mail, Client)
-MimeType=x-scheme-handler/mailto;
-NoDisplay=true
-Terminal=false
-Type=Application
-Keywords=emacsclient;
-Actions=new-window;new-instance;
-
-[Desktop Action new-window]
-Name=New Window
-Exec=/usr/bin/emacsclient --alternate-editor= --create-frame --eval "(message-mailto \\"%u\\")"
-
-[Desktop Action new-instance]
-Name=New Instance
-Exec=emacs -f message-mailto %u
diff --git a/dotfiles/common/.local/share/applications/file.desktop b/dotfiles/common/.local/share/applications/file.desktop
deleted file mode 100644
index 5df1633..0000000
--- a/dotfiles/common/.local/share/applications/file.desktop
+++ /dev/null
@@ -1,4 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=File Manager
-Exec=/usr/local/bin/st -e lfub %u
diff --git a/dotfiles/common/.local/share/applications/img.desktop b/dotfiles/common/.local/share/applications/img.desktop
deleted file mode 100644
index 42aa81e..0000000
--- a/dotfiles/common/.local/share/applications/img.desktop
+++ /dev/null
@@ -1,4 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Image viewer
-Exec=/usr/bin/sxiv -a %f
diff --git a/dotfiles/common/.local/share/applications/lock-screen.desktop b/dotfiles/common/.local/share/applications/lock-screen.desktop
deleted file mode 100644
index 2bd7afa..0000000
--- a/dotfiles/common/.local/share/applications/lock-screen.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Lock Screen
-Comment=Lock the screen
-Exec=slock
-Icon=system-lock-screen
-Type=Application
-Categories=System;
diff --git a/dotfiles/common/.local/share/applications/logout.desktop b/dotfiles/common/.local/share/applications/logout.desktop
deleted file mode 100644
index 8c3bc3a..0000000
--- a/dotfiles/common/.local/share/applications/logout.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Logout
-Comment=End the current session
-Exec=sh -c 'loginctl terminate-session "$XDG_SESSION_ID"'
-Icon=system-log-out
-Type=Application
-Categories=System;
diff --git a/dotfiles/common/.local/share/applications/mail.desktop b/dotfiles/common/.local/share/applications/mail.desktop
deleted file mode 100644
index d24aea2..0000000
--- a/dotfiles/common/.local/share/applications/mail.desktop
+++ /dev/null
@@ -1,4 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Mail
-Exec=/usr/local/bin/st -e neomutt %u
diff --git a/dotfiles/common/.local/share/applications/pdf.desktop b/dotfiles/common/.local/share/applications/pdf.desktop
deleted file mode 100644
index 8c38677..0000000
--- a/dotfiles/common/.local/share/applications/pdf.desktop
+++ /dev/null
@@ -1,4 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=PDF reader
-Exec=/usr/bin/zathura %u
diff --git a/dotfiles/common/.local/share/applications/reboot.desktop b/dotfiles/common/.local/share/applications/reboot.desktop
deleted file mode 100644
index ae2c76e..0000000
--- a/dotfiles/common/.local/share/applications/reboot.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Reboot
-Comment=Restart the system
-Exec=systemctl reboot
-Icon=system-reboot
-Type=Application
-Categories=System;
diff --git a/dotfiles/common/.local/share/applications/shutdown.desktop b/dotfiles/common/.local/share/applications/shutdown.desktop
deleted file mode 100644
index 2d93aa0..0000000
--- a/dotfiles/common/.local/share/applications/shutdown.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Shutdown
-Comment=Power off the system
-Exec=systemctl poweroff
-Icon=system-shutdown
-Type=Application
-Categories=System;
diff --git a/dotfiles/common/.local/share/applications/suspend.desktop b/dotfiles/common/.local/share/applications/suspend.desktop
deleted file mode 100644
index ab8addf..0000000
--- a/dotfiles/common/.local/share/applications/suspend.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Suspend
-Comment=Suspend the system to RAM
-Exec=systemctl suspend
-Icon=system-suspend
-Type=Application
-Categories=System;
diff --git a/dotfiles/common/.local/share/applications/text.desktop b/dotfiles/common/.local/share/applications/text.desktop
deleted file mode 100644
index 41ee05f..0000000
--- a/dotfiles/common/.local/share/applications/text.desktop
+++ /dev/null
@@ -1,4 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Text editor
-Exec=/usr/local/bin/st -e nvim %u
diff --git a/dotfiles/common/.zshrc.d/media.sh b/dotfiles/common/.zshrc.d/media.sh
index 92fe2ce..a5d54f1 100644
--- a/dotfiles/common/.zshrc.d/media.sh
+++ b/dotfiles/common/.zshrc.d/media.sh
@@ -18,12 +18,12 @@ alias ttdl="tsp tidal-dl -l"
# YouTube (yt-dlp)
# =============================================================================
# Video - single
-alias yt="yt-dlp --ignore-config --no-playlist --add-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
-alias tyt="tsp yt-dlp --ignore-config --no-playlist --add-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
+alias yt="yt-dlp --ignore-config --no-playlist --embed-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
+alias tyt="tsp yt-dlp --ignore-config --no-playlist --embed-metadata -i -o '%(channel)s-%(title)s.%(ext)s'"
# Video - playlist
-alias ytp="yt-dlp --ignore-config --yes-playlist --add-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
-alias tytp="tsp yt-dlp --ignore-config --yes-playlist --add-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
+alias ytp="yt-dlp --ignore-config --yes-playlist --embed-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
+alias tytp="tsp yt-dlp --ignore-config --yes-playlist --embed-metadata -i -o '%(channel)s-%(playlist_title)s-%(playlist_index)s-%(title)s.%(ext)s'"
# Audio - single
alias yta="yt-dlp --ignore-config --no-playlist -x -f bestaudio/best -o '%(artist)s-%(title)s.%(ext)s'"