aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/dwm/.local
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-02 12:16:38 -0500
committerCraig Jennings <c@cjennings.net>2026-06-02 12:16:38 -0500
commitb10cba594db836c0747066addad48bda4d30cd02 (patch)
tree063119a623fa3f7139feda4ef302896d8f5f934c /dotfiles/dwm/.local
parent49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd (diff)
downloadarchsetup-b10cba594db836c0747066addad48bda4d30cd02.tar.gz
archsetup-b10cba594db836c0747066addad48bda4d30cd02.zip
refactor: drop in-repo dotfiles/, move stow tooling to the dotfiles repo
Since the installer clones DOTFILES_REPO into ~/.dotfiles and stows from there, the in-repo dotfiles/ tree was dead weight. Nothing reads it at install time. I removed it (831 files) now that both machines are migrated. The Makefile's stow / restow / reset / unstow / import targets and the dotfile-script unit suites moved to the dotfiles repo. They sit alongside the scripts they manage and run standalone (cd ~/.dotfiles && make ...). This Makefile keeps the VM-integration targets and the installer-helper suite (safe-rm-rf). I updated CLAUDE.md and README.md so stow operations run from ~/.dotfiles, and the dotfile-management, theme, and unit-test sections point at the standalone repo. The README was already describing the old in-repo model from before the installer switched to cloning. This brings it in line.
Diffstat (limited to 'dotfiles/dwm/.local')
-rwxr-xr-xdotfiles/dwm/.local/bin/airplanemodetoggle33
-rwxr-xr-xdotfiles/dwm/.local/bin/brightness36
-rwxr-xr-xdotfiles/dwm/.local/bin/colorpick6
-rwxr-xr-xdotfiles/dwm/.local/bin/dmenuexitmenu12
-rwxr-xr-xdotfiles/dwm/.local/bin/dmenuunicode18
-rwxr-xr-xdotfiles/dwm/.local/bin/screenshotmenu13
-rwxr-xr-xdotfiles/dwm/.local/bin/toggle-touchpad16
-rwxr-xr-xdotfiles/dwm/.local/bin/wallsearch43
-rw-r--r--dotfiles/dwm/.local/share/applications/dwm.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop20
-rw-r--r--dotfiles/dwm/.local/share/applications/file.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/img.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/lock-screen.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/logout.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/mail.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/pdf.desktop4
-rw-r--r--dotfiles/dwm/.local/share/applications/reboot.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/shutdown.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/suspend.desktop7
-rw-r--r--dotfiles/dwm/.local/share/applications/text.desktop4
20 files changed, 0 insertions, 259 deletions
diff --git a/dotfiles/dwm/.local/bin/airplanemodetoggle b/dotfiles/dwm/.local/bin/airplanemodetoggle
deleted file mode 100755
index 038a0d6..0000000
--- a/dotfiles/dwm/.local/bin/airplanemodetoggle
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-if [ "$(printf "On\\nOff" | dmenu -i -p "Set airplane mode:")" = "On" ]
-then
- notify-send "Airplane Mode" "Turning on airplane mode...."
- sudo systemctl stop bluetooth.service
- sudo systemctl stop expressvpn.service
- sudo systemctl stop sshd.service
- systemctl --user stop syncthing.service
- sudo systemctl stop avahi-daemon.service
- sudo systemctl stop cronie.service
- sudo systemctl stop cups.service
- sudo ip link set wlp170s0 down
- sudo systemctl stop wpa_supplicant.service
- sudo systemctl stop NetworkManager.service
- sudo nmcli radio all off
- sudo powertop --auto-tune
- notify-send "Airplane Mode" "Airplane mode is now on."
-else
- notify-send "Airplane Mode" "Turning off airplane mode....."
- sudo nmcli radio wifi on
- sudo systemctl start NetworkManager.service
- sudo systemctl start wpa_supplicant.service
- sudo ip link set wlp170s0 up
- sudo systemctl start bluetooth.service
- sudo systemctl start expressvpn.service
- sudo systemctl start sshd.service
- systemctl --user start syncthing.service
- sudo systemctl start avahi-daemon.service
- sudo systemctl start cronie.service
- sudo systemctl start cups.service
- notify-send "Airplane Mode" "Airplane mode is now off."
-fi
diff --git a/dotfiles/dwm/.local/bin/brightness b/dotfiles/dwm/.local/bin/brightness
deleted file mode 100755
index 9142f33..0000000
--- a/dotfiles/dwm/.local/bin/brightness
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/env bash
-# Craig Jennings <c@cjennings.net>
-# DWM convenience script for changing backlight
-# depends on xbacklight
-
-increment=10
-
-case $1 in
- "max")
- sudo xbacklight -set 100%;
- ;;
- "min")
- sudo xbacklight -set 5%;
- ;;
- "up")
- # get current setting as an int
- current=$( printf "%.0f" "$(xbacklight -get)" )
-
- # add the increment
- newvalue=$(("$current" + "$increment"))
-
- # don't let the brightness go above 100
- [ "$newvalue" -ge 100 ] && newvalue=100;
-
- # set the value
- xbacklight -set "$newvalue";
- ;;
- "down")
- current=$( printf "%.0f" "$(xbacklight -get)" )
- newvalue=$(("$current" - "$increment"))
- [ "$newvalue" -le 5 ] && newvalue=5;
- xbacklight -set "$newvalue";
- ;;
-esac
-newvalue=$( printf "%.0f" "$(xbacklight -get)")
-notify-send "backlight" "backlight now set to $newvalue"
diff --git a/dotfiles/dwm/.local/bin/colorpick b/dotfiles/dwm/.local/bin/colorpick
deleted file mode 100755
index b5e1aff..0000000
--- a/dotfiles/dwm/.local/bin/colorpick
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# displays colorpicker app
-# turns cursor into crosshairs, adds preview at bottom left
-# selected color is added to the clipboard
-
-colorpicker --short --one-shot --preview | xsel -b
diff --git a/dotfiles/dwm/.local/bin/dmenuexitmenu b/dotfiles/dwm/.local/bin/dmenuexitmenu
deleted file mode 100755
index 5570364..0000000
--- a/dotfiles/dwm/.local/bin/dmenuexitmenu
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-menuitems=("Lock  \nSuspend 󰤄 \nLogout 󰩈 \nReboot 󰁪 \nShutdown  \nCancel 󰜺")
-choice=$(echo -e $menuitems | dmenu -nb "#DAA520" -nf "#2E3440" -sb "#2E3440" -sf "#DAA520")
-
-case "$choice" in
- "Logout 󰩈 ") loginctl terminate-user $(whoami) ;;
- "Lock  ") slock ;;
- "Suspend 󰤄 ") systemctl suspend;;
- "Shutdown  ") systemctl poweroff;;
- "Reboot 󰁪 ") systemctl reboot ;;
-esac
diff --git a/dotfiles/dwm/.local/bin/dmenuunicode b/dotfiles/dwm/.local/bin/dmenuunicode
deleted file mode 100755
index b25876f..0000000
--- a/dotfiles/dwm/.local/bin/dmenuunicode
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# The famous "get a menu of emojis to copy" script.
-
-# Get user selection via dmenu from emoji file.
-chosen=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -l 30 | sed "s/ .*//")
-
-# Exit if none chosen.
-[ -z "$chosen" ] && exit
-
-# If you run this command with an argument, it will automatically insert the
-# character. Otherwise, show a message that the emoji has been copied.
-if [ -n "$1" ]; then
- xdotool type "$chosen"
-else
- printf "$chosen" | xclip -selection clipboard
- notify-send "'$chosen' copied to clipboard." &
-fi
diff --git a/dotfiles/dwm/.local/bin/screenshotmenu b/dotfiles/dwm/.local/bin/screenshotmenu
deleted file mode 100755
index c899dfc..0000000
--- a/dotfiles/dwm/.local/bin/screenshotmenu
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# Requires maim, xdotool, and dmenu
-# Uses dmenu to choose the type of screenshot to take,
-
-case "$(printf "full screen\\nselected area\\ncurrent window\\nselected area (copy)\\ncurrent window (copy)\\nfull screen (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in
- "full screen") file="$(date +%Y.%m.%d-%M%S).png" && maim ~/pictures/screenshots/$file && notify-send "Image selection saved to ~/pictures/screenshots/$file" ;;
- "full screen (5 sec delay)") file="$(date +%Y.%m.%d-%M%S).png" && sleep 5 && maim ~/pictures/screenshots/$file && notify-send "Image selection saved to ~/pictures/screenshots/$file" ;;
- "selected area") file="$(date +%Y.%m.%d-%M%S).png" && maim -s ~/pictures/screenshots/$file && notify-send "Image selection saved to ~/pictures/screenshots/$file" ;;
- "current window") maim -i "$(xdotool getactivewindow)" '~/pictures/screenshots/$(date +%Y.%m.%d-%M%S).png' && notify-send "Image selection saved to ~/pictures/screenshots/" ;;
- "selected area (copy)") maim -s | xclip -selection clipboard -t image/png && notify-send "Image selection copied to clipboard." ;;
- "current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png && notify-send "Image selection copied to clipboard." ;;
- "full screen (copy)") maim | xclip -selection clipboard -t image/png && notify-send "Image copied to clipboard." ;;
-esac
diff --git a/dotfiles/dwm/.local/bin/toggle-touchpad b/dotfiles/dwm/.local/bin/toggle-touchpad
deleted file mode 100755
index 9dde99b..0000000
--- a/dotfiles/dwm/.local/bin/toggle-touchpad
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# Toggle touchpad status
-# Using libinput and xinput
-
-# Use xinput list and do a search for touchpads. Then get the first one and get its name.
-device="$(xinput list | grep -P '(?<= )[\w\s:]*(?i)(touchpad|synaptics)(?-i).*?(?=\s*id)' -o | head -n1)"
-
-# If it was activated disable it and if it wasn't disable it
-if [[ "$(xinput list-props "$device" | grep -P ".*Device Enabled.*\K.(?=$)" -o)" == "1" ]]
-then
- xinput disable "$device"
- notify-send "Touchpad" "Touchpad disabled"
-else
- xinput enable "$device"
- notify-send "Touchpad" "Touchpad enabled"
-fi
diff --git a/dotfiles/dwm/.local/bin/wallsearch b/dotfiles/dwm/.local/bin/wallsearch
deleted file mode 100755
index f71d150..0000000
--- a/dotfiles/dwm/.local/bin/wallsearch
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-walldir="$HOME/Pictures/wallpaper/incoming"
-tmpdir="$HOME/.wallsearch"
-maxpage=5
-tagoptions="CANCEL\n#minimalism\n#digital art\n#4K\n#nature\n#abstract\n#landscape\n#cityscape\n#surf\n#technology"
-sortoptions="CANCEL\ndate_added\nrelevance\nrandom\nfavorites\ntoplist"
-
-if [ -d $tmpdir ]; then
- rm -rf $tmpdir
-fi
-mkdir -p $tmpdir
-
-if [ -z $1 ]; then
- query=$(echo -e $tagoptions | dmenu -p "Search Wallhaven: " -i)
-else
- query=$1
-fi
-
-[ $query == "CANCEL" ] && notify-send "Cancelled wallpaper search." && exit 0;
-
-sorting=$(echo -e $sortoptions | dmenu -p "Sort Order: " -i)
-
-[ $sorting == "CANCEL" ] && notify-send "Cancelled wallpaper search." && exit 0;
-
-query="$(sed 's/#//g' <<<$query)"
-query="$(sed 's/ /+/g' <<<$query)"
-echo #query
-
-notify-send "wallsearch" "Searching wallpapers..."
-
-for i in $(seq 1 10);
-do
- curl -s https://wallhaven.cc/api/v1/search\?atleast\=1920x1080\&sorting\=$sorting\&q\=$query\&purity=111\&page\=$i > tmp.txt
- page=$(cat tmp.txt | jq '.' | grep -Eoh "https:\/\/w\.wallhaven.cc\/full\/.*(jpg|png)\b")
- wget -nc -P $tmpdir $page
- notify-send "wallsearch" "Searching wallpapers..."
-done
-
-rm tmp.txt
-notify-send "wallsearch" "Done searching wallpaper."
-sxiv -to $tmpdir/* | xargs -I % mv % $walldir
-#rm -rf $tmpdir
diff --git a/dotfiles/dwm/.local/share/applications/dwm.desktop b/dotfiles/dwm/.local/share/applications/dwm.desktop
deleted file mode 100644
index ba3bd00..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/emacsclient-mail.desktop b/dotfiles/dwm/.local/share/applications/emacsclient-mail.desktop
deleted file mode 100644
index 6efcf61..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/file.desktop b/dotfiles/dwm/.local/share/applications/file.desktop
deleted file mode 100644
index 5df1633..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/img.desktop b/dotfiles/dwm/.local/share/applications/img.desktop
deleted file mode 100644
index 42aa81e..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/lock-screen.desktop b/dotfiles/dwm/.local/share/applications/lock-screen.desktop
deleted file mode 100644
index 2bd7afa..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/logout.desktop b/dotfiles/dwm/.local/share/applications/logout.desktop
deleted file mode 100644
index 8c3bc3a..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/mail.desktop b/dotfiles/dwm/.local/share/applications/mail.desktop
deleted file mode 100644
index d24aea2..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/pdf.desktop b/dotfiles/dwm/.local/share/applications/pdf.desktop
deleted file mode 100644
index 8c38677..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/reboot.desktop b/dotfiles/dwm/.local/share/applications/reboot.desktop
deleted file mode 100644
index ae2c76e..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/shutdown.desktop b/dotfiles/dwm/.local/share/applications/shutdown.desktop
deleted file mode 100644
index 2d93aa0..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/suspend.desktop b/dotfiles/dwm/.local/share/applications/suspend.desktop
deleted file mode 100644
index ab8addf..0000000
--- a/dotfiles/dwm/.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/dwm/.local/share/applications/text.desktop b/dotfiles/dwm/.local/share/applications/text.desktop
deleted file mode 100644
index 41ee05f..0000000
--- a/dotfiles/dwm/.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