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

@ -1,21 +1,17 @@
#!/bin/bash
#!/usr/bin/env bash
# Clipboard history through rofi, backed by greenclip (X11).
# The daemon is started from bspwmrc.
# ┏━━━┳━━┳━┓┏━┳━━━┳┓╋╋┏━━┳━┓┏━┓
# ┗┓┏┓┣┫┣┫┃┗┛┃┃┏━━┫┃╋╋┗┫┣┻┓┗┛┏┛
# ╋┃┃┃┃┃┃┃┏┓┏┓┃┗━━┫┃╋╋╋┃┃╋┗┓┏┛
# ╋┃┃┃┃┃┃┃┃┃┃┃┃┏━━┫┃╋┏┓┃┃╋┏┛┗┓
# ┏┛┗┛┣┫┣┫┃┃┃┃┃┃╋╋┃┗━┛┣┫┣┳┛┏┓┗┓
# ┗━━━┻━━┻┛┗┛┗┻┛╋╋┗━━━┻━━┻━┛┗━┛
# The program was created by DIMFLIX
# Github: https://github.com/DIMFLIX-OFFICIAL
session_type=$XDG_SESSION_TYPE
if [ "$session_type" == "wayland" ]; then
cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
elif [ "$session_type" == "x11" ]; then
cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | xclip -selection clipboard
else
echo "Тип сеанса не определен или не является Wayland/X11."
if ! command -v greenclip >/dev/null 2>&1; then
notify-send -a "Clipboard" -u critical "greenclip is not installed" \
"Install it with: paru -S rofi-greenclip"
exit 1
fi
pgrep -f 'greenclip daemon' >/dev/null 2>&1 || (setsid greenclip daemon >/dev/null 2>&1 &)
rofi -modi "clipboard:greenclip print" \
-show clipboard \
-run-command '{cmd}' \
-theme "$HOME/.config/rofi/control.rasi" \
-p "Clipboard"