control centre, notification overhaul, and cleanup

One centred rofi panel (super+x, or the gear in the bar) now drives network,
bluetooth, audio, WireGuard, display, notifications, clipboard, emoji,
screenshots, wallpaper, the particle layer, the bar and power. The separate
per-function menus are gone.

dunst: icons and images were disabled outright (icon_position=off,
max_icon_size=0). Now icons resolve through Papirus, images render, progress
bars are styled, notifications gap and stack, and fullscreen windows are not
covered unless the message is critical. Volume up/down never notified at all;
they now show a stacking OSD with a progress bar.

Removed things that were broken or belonged to whoever this rice came from:
- vpn-launcher.sh (mullvad/openvpn) and dc-multivpn
- audio/bluetooth/network/power rofi menus, folded into the control centre
- untar-all, unzip-all, resetxdgportal (unreferenced)
- a sxhkd binding hardcoded to /home/sarthak/projects/scribe
- clipboard-manager.sh keyed off XDG_SESSION_TYPE, which is 'tty' here, so it
  only ever printed a Russian error; rewritten on greenclip
- toggle-bar.sh was bound to super+b but did not exist; written

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cn3dHfbgNYdbZvzb1b3GQt
This commit is contained in:
Sarthak 2026-09-04 00:48:26 +05:30
parent 6f41e344ac
commit b5a252c480
263 changed files with 645 additions and 16167 deletions

View file

@ -11,7 +11,12 @@ print_error() {
notify_vol() {
vol=$(get_volume)
notify-send -u low "Volume" "${vol}%"
local icon label
if [[ "${device}" == "input" ]]; then icon="󰍬"; label="Microphone"; else icon="󰕾"; label="Volume"; fi
notify-send -a osd -u low \
-h "int:value:${vol}" \
-h "string:x-dunst-stack-tag:osd-${device}" \
"${icon} ${label} ${vol}%"
}
get_volume() {
@ -63,9 +68,11 @@ action_volume() {
case "${action}" in
increase)
pamixer "${srce}" -i 2
notify_vol
;;
decrease)
pamixer "${srce}" -d 2
notify_vol
;;
toggle)
pamixer "${srce}" -t
@ -79,10 +86,13 @@ action_volume() {
}
notify_mute() {
local icon label
if [[ "${device}" == "input" ]]; then label="Microphone"; else label="Volume"; fi
if [[ $(pamixer "${srce}" --get-mute) == "true" ]]; then
notify-send -u low "Muted"
[[ "${device}" == "input" ]] && icon="󰍭" || icon="󰝟"
notify-send -a osd -u low -h "string:x-dunst-stack-tag:osd-${device}" "${icon} ${label} muted"
else
notify-send -u low "Unmuted"
notify_vol
fi
}