feat: rebuild master from the live desktop, and add the KDE configuration

master still carried the 2021 tree. Task 6 does a checkout over $HOME, so nine
of those files would have overwritten the current configuration rather than
updated it - i3, sway, dunst, nvim, vim and tmux, all diverged by years. The
plan had no step for this; the design warned about it and then nothing
implemented the warning.

The nine are now taken from the live machine verbatim, and the 31 files with no
counterpart there are dropped. Everything remains on archive/2021-i3-sway.
README.md and .scripts/install.sh are kept despite having no live counterpart:
the first documents the repository and the second is what ls.shron.de/dotconf
serves, so deleting it would break that link.

Verified byte-identical to the live files afterwards, which is the point - a
checkout on this machine must change nothing.

KDE has been in daily use for a while with nothing backing it up. Eighteen rc
files and the nine autostart entries are added: window rules and shortcuts,
notification behaviour, the lock screen, and the panel layout in
plasma-org.kde.plasma.desktop-appletsrc. That last one is rewritten by
plasmashell whenever anything moves, so it will produce churn - kept anyway,
since a lost panel layout is the most tedious thing here to rebuild by hand.

.config/kdeconnect/ is excluded rather than added. It holds the device
certificate and its private key, and is pairing state rather than
configuration - the only place under .config that carries a secret.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
thomas.kopp
2026-08-07 15:53:50 +02:00
co-authored by Claude Opus 5
parent ce560c315d
commit d215dfefc5
68 changed files with 3574 additions and 1889 deletions
-72
View File
@@ -1,72 +0,0 @@
#!/bin/bash
# You can call this script like this:
# $./volume.sh up
# $./volume.sh down
# $./volume.sh mute
# Original from: https://gist.github.com/sebastiencs/5d7227f388d93374cebdf72e783fbd6a
function get_volume {
pamixer --get-volume
}
function is_mute {
pamixer --get-volume-human | grep muted > /dev/null
}
function send_notification {
volume=`get_volume`
icon_quiet="/usr/share/icons/Adwaita/48x48/status/audio-volume-low-symbolic.symbolic.png"
icon_loud="/usr/share/icons/Adwaita/48x48/status/audio-volume-high-symbolic.symbolic.png"
icon_medium="/usr/share/icons/Adwaita/48x48/status/audio-volume-medium-symbolic.symbolic.png"
icon_muted="/usr/share/icons/Adwaita/48x48/status/audio-volume-muted-symbolic.symbolic.png"
# Make the bar with the special character ─ (it's not dash -)
# https://en.wikipedia.org/wiki/Box-drawing_character
bar=$(seq -s "─" $(($volume / 5)) | sed 's/[0-9]//g')
# Send the notification
# if [ "$volume" == "muted" ]; then
icon="/usr/share/icons/Adwaita/48x48/status/audio-volume-muted-symbolic.symbolic.png"
#dunstify -i "$icon" -t 2000 --replace 2593 -u normal " $bar"
dunstify "$volume"" ""$bar" -i "/usr/share/icons/Adwaita/48x48/status/audio-volume-muted-symbolic.symbolic.png" -t 2000 -h int:value:"$volume" -h string:synchronous:"$bar" --replace=555
#else
# if [ "$volume" -lt "10" ]; then
# icon="/usr/share/icons/Adwaita/48x48/status/audio-volume-low-symbolic.symbolic.png"
# else
# if [ "$volume" -lt "30" ]; then
# icon="/usr/share/icons/Adwaita/48x48/status/audio-volume-medium-symbolic.symbolic.png"
# else
# if [ "$volume" -lt "70" ]; then
# icon="/usr/share/icons/Adwaita/48x48/status/audio-volume-high-symbolic.symbolic.png"
# fi
# fi
# fi
#fi
}
case $1 in
up)
# Set the volume on (if it was muted)
#amixer -D pulse set Master on > /dev/null
# Up the volume (+ 5%)
pamixer -i 5
canberra-gtk-play -i audio-volume-change -d "changeVolume"
send_notification
;;
down)
#amixer -D pulse set Master on > /dev/null
pamixer -d 5
canberra-gtk-play -i audio-volume-change -d "changeVolume"
send_notification
;;
mute)
# Toggle mute
pamixer -t
if is_mute ; then
dunstify -i audio-volume-muted -t 2000 -r 2593 -u normal "Mute"
else
canberra-gtk-play -i audio-volume-change -d "changeVolume"
send_notification
fi
;;
esac