diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 12:16:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 12:16:38 -0500 |
| commit | b10cba594db836c0747066addad48bda4d30cd02 (patch) | |
| tree | 063119a623fa3f7139feda4ef302896d8f5f934c /dotfiles/dwm | |
| parent | 49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd (diff) | |
| download | archsetup-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')
29 files changed, 0 insertions, 592 deletions
diff --git a/dotfiles/dwm/.Xresources b/dotfiles/dwm/.Xresources deleted file mode 100644 index 4b35809..0000000 --- a/dotfiles/dwm/.Xresources +++ /dev/null @@ -1,106 +0,0 @@ -!! X Resources - Hudson theme -!! Tomorrow Night + Goldenrod accent -!! For X11 applications (st, xterm, etc.) and Emacs - -!! X Font Settings -Xft.dpi: 109 -Xft.autohint: 0 -Xft.lcdfilter: lcddefault -Xft.hintstyle: hintfull -Xft.hinting: 1 -Xft.antialias: 1 -Xft.rgba: rgb -Xcursor.size: 24 -Xcursor.theme: Bibata-Modern-Ice - -!! Emacs -Emacs*toolBar: 0 - -!! ============================================================================ -!! Hudson Theme Colors (Tomorrow Night + Goldenrod) -!! ============================================================================ - -#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 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 -!! 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 -st.color1: theme_red -st.color2: theme_green -st.color3: theme_yellow -st.color4: theme_blue -st.color5: theme_magenta -st.color6: theme_cyan -st.color7: theme_white -st.color8: theme_br_black -st.color9: theme_br_red -st.color10: theme_br_green -st.color11: theme_br_yellow -st.color12: theme_br_blue -st.color13: theme_br_magenta -st.color14: theme_br_cyan -st.color15: theme_br_white - -!! XTerm settings -XTerm*faceName: BerkeleyMono Nerd Font:size=13 -XTerm*selectToClipboard: true -XTerm*background: theme_bg -XTerm*foreground: theme_fg -XTerm*color0: theme_black -XTerm*color1: theme_red -XTerm*color2: theme_green -XTerm*color3: theme_yellow -XTerm*color4: theme_blue -XTerm*color5: theme_magenta -XTerm*color6: theme_cyan -XTerm*color7: theme_white -XTerm*color8: theme_br_black -XTerm*color9: theme_br_red -XTerm*color10: theme_br_green -XTerm*color11: theme_br_yellow -XTerm*color12: theme_br_blue -XTerm*color13: theme_br_magenta -XTerm*color14: theme_br_cyan -XTerm*color15: theme_br_white diff --git a/dotfiles/dwm/.config/conky/conky.conf b/dotfiles/dwm/.config/conky/conky.conf deleted file mode 100644 index 09ee8ea..0000000 --- a/dotfiles/dwm/.config/conky/conky.conf +++ /dev/null @@ -1,24 +0,0 @@ -conky.config = { -out_to_console = true, -out_to_x = false, -background = false, -update_interval = 30, -total_run_times = 0, -}; -conky.text = [[ \ -${if_existing /sys/class/power_supply/BAT0}\ - \ -${battery_percent BAT0}% \ -${if_existing /sys/class/power_supply/BAT0/status Charging} ${endif}\ -${if_existing /sys/class/power_supply/BAT0/status Discharging} ${endif}\ -${endif}\ -${if_existing /sys/class/power_supply/BAT1}\ - \ -${battery_percent BAT1}% \ -${if_existing /sys/class/power_supply/BAT1/status Charging} ${endif}\ -${if_existing /sys/class/power_supply/BAT1/status Discharging} ${endif}\ -${endif}\ - ${fs_used}/${fs_size} \ - ${time %a %B %d} \ - ${time %I:%M %p %Z} -]]; diff --git a/dotfiles/dwm/.config/flameshot/flameshot.ini b/dotfiles/dwm/.config/flameshot/flameshot.ini deleted file mode 100644 index 8874b3b..0000000 --- a/dotfiles/dwm/.config/flameshot/flameshot.ini +++ /dev/null @@ -1,11 +0,0 @@ -[General] -contrastOpacity=216 -copyOnDoubleClick=true -copyPathAfterSave=true -saveAfterCopy=true -saveAsFileExtension=jpg -savePath=/home/cjennings/pictures/screenshots -savePathFixed=true -showStartupLaunchMessage=false -uiColor=#2587e2 -useJpgForClipboard=true diff --git a/dotfiles/dwm/.config/picom.conf b/dotfiles/dwm/.config/picom.conf deleted file mode 100644 index 0b65df7..0000000 --- a/dotfiles/dwm/.config/picom.conf +++ /dev/null @@ -1,56 +0,0 @@ -# opacity-rule = [ -# "85:class_g = 'XTerm'", -# "85:class_g = 'Alacritty'", -# "85:class_g = 'xterm-kitty'", -# "85:class_g = 'URxvt'", -# "85:class_g = 'tabbed'", -# ]; -# "85:class_g = 'st-256color'", -# "85:class_g = 'Emacs'", - -# Blur -blur: -{ - method = "dual_kawase"; - strength = 2; -} - -wintypes: -{ - normal = { blur-background = true; }; - splash = { blur-background = false; }; -}; - -# Fading -fading = false; -fade-in-step = 0.07; -fade-out-step = 0.07; -fade-exclude = [ ]; - -# Other -corner-radius = 10.0; -round-borders = 1; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -detect-rounded-corners = true; -rounded-corners-exclude = [ - "class_g = 'dwm'", - "class_g = 'dwmsystray'", - "window_type = 'dock'" - ]; -detect-client-opacity = true; - -vsync = true; -dbe = false; -unredir-if-possible = true; -detect-transient = true; -detect-client-leader = true; -invert-color-include = [ ]; - -# GLX backend -backend = "glx"; -glx-no-stencil = true; -glx-copy-from-front = false; -use-damage = true -glx-no-rebind-pixmap = true; - diff --git a/dotfiles/dwm/.config/redshift.conf b/dotfiles/dwm/.config/redshift.conf deleted file mode 100644 index 92b61bf..0000000 --- a/dotfiles/dwm/.config/redshift.conf +++ /dev/null @@ -1,32 +0,0 @@ -[redshift] -; Color temperature in Kelvin -; 6500K = neutral daylight (no filter) -; 5000K = subtle warmth -; 4500K = noticeable but readable warmth (recommended for night) -; 4000K = warm (like incandescent bulb) -; 3500K = very warm/orange (often too much) - -temp-day=6500 -temp-night=4500 - -; Brightness (1.0 = full, 0.8 = 20% dimmed) -; Keeping at 1.0 avoids readability issues -brightness-day=1.0 -brightness-night=1.0 - -; Gamma correction (1.0 = no correction) -gamma=1.0 - -; Fade between day/night (1 = gradual, 0 = instant) -fade=1 - -; Screen adjustment method -adjustment-method=randr - -; Location for sunrise/sunset calculation -location-provider=manual - -[manual] -; New Orleans, LA -lat=29.951065 -lon=-90.071533 diff --git a/dotfiles/dwm/.config/touchpad-indicator/touchpad-indicator.conf b/dotfiles/dwm/.config/touchpad-indicator/touchpad-indicator.conf deleted file mode 100644 index 51a9907..0000000 --- a/dotfiles/dwm/.config/touchpad-indicator/touchpad-indicator.conf +++ /dev/null @@ -1 +0,0 @@ -{"first-time": false, "version": "2.2.3-ubuntu20.04.0", "is_working": false, "autostart": false, "on_mouse_plugged": true, "on_start": -1, "on_end": 1, "disable_on_typing": true, "interval": 3600.0, "start_hidden": false, "show_notifications": false, "theme": "light", "touchpad_enabled": false, "natural_scrolling": false, "speed": 0.0, "tapping": true, "two_finger_scrolling": true, "edge_scrolling": false, "cicular_scrolling": true, "right-top-corner": 0, "right-bottom-corner": 0, "left-top-corner": 0, "left-bottom-corner": 0, "one-finger-tap": 0, "two-finger-tap": 0, "three-finger-tap": 0, "faulty-devices": ["11/2/1/0", "11/2/a/0", "11/2/5/7326", "11/2/6/0", "18/93a/274/100"]}
\ No newline at end of file diff --git a/dotfiles/dwm/.gnupg/gpg-agent.conf b/dotfiles/dwm/.gnupg/gpg-agent.conf deleted file mode 100644 index 6448665..0000000 --- a/dotfiles/dwm/.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/dwm/.gnupg/pinentry-dmenu.conf b/dotfiles/dwm/.gnupg/pinentry-dmenu.conf deleted file mode 100644 index ccd4d55..0000000 --- a/dotfiles/dwm/.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/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 diff --git a/dotfiles/dwm/.xinitrc b/dotfiles/dwm/.xinitrc deleted file mode 100755 index 991f507..0000000 --- a/dotfiles/dwm/.xinitrc +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -# Craig Jennings <c@cjennings.net> -# X11 session initialization - -# ============================================================================ -# Gnome Keyring Integration -# ============================================================================ -# Start gnome-keyring-daemon and export environment variables -# This ensures SSH agent, secrets, and GPG agent integration work properly -eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) -export SSH_AUTH_SOCK - -# Update D-Bus activation environment with keyring variables -# This allows apps started via D-Bus to access the keyring -dbus-update-activation-environment --systemd DISPLAY XAUTHORITY SSH_AUTH_SOCK - -# ============================================================================ -# DWM Session Startup -# ============================================================================ -# Set logfile for dwm output -logdir="$HOME/.local/var/log" -[ -d "$logdir" ] || mkdir -p "$logdir" -logfile="$logdir/$(date +%Y-%m-%d_%H-%M-%S-%3N.dwm.log)" - -# X Org environment -export XAUTHORITY=$HOME/.Xauthority -export DISPLAY=:0.0 - -# Reset GPG agent so it inherits DISPLAY for pinentry-dmenu -~/.local/bin/reset-auth >/dev/null 2>&1 - -# Allow sudo use of display -xhost +si:localuser:root - -# Merge local configuration for X client applications -[ -f ~/.Xresources ] && xrdb -merge -I $HOME ~/.Xresources - -# Merge xmodmap configuration -[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap - -# Info in the status bar -(conky | while read LINE; do xsetroot -name "$LINE"; done) & - -# Map short-pressed Ctrl to Escape (commented out) -# xcape -e 'Control_L=Escape' & - -# Map shift backspace to delete (commented out) -# xcape -e 'Shift_L=Delete' - -# Make CapsLock behave like Ctrl -setxkbmap -option ctrl:nocaps - -# Start background services -xautolock -time 5 -locker slock & -# picom & -sxhkd & -[ -f ~/.fehbg ] && ~/.fehbg & -nm-applet & -blueman-applet & -caffeine start & -battery_monitor & -mpd & -dunst & -redshift & -sudo powertop --auto-tune & -flameshot & -insync start & -# touchpad-indicator-start & -signal-desktop --start-in-tray & -protonmail-bridge --no-window & -# warpinator-start & - -# Start dwm window manager -echo "$(date): Starting dwm" >> "$logfile" 2>&1 -exec dwm > $logfile 2>&1 |
