NoSignal-OS/os updates/super-clipboard/super-paste
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a
fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop:
matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU
detection, and a curated "os updates" layer (keybind cheatsheet, settings
panels, system polish, on-box management skill). See README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 11:03:10 +01:00

16 lines
659 B
Bash
Executable file

#!/usr/bin/env bash
# super-paste — make a single Super+V "paste" in every app.
#
# Terminals paste with Ctrl+Shift+V; GUI apps with Ctrl+V. Sends the right one
# to the focused window via Hyprland's built-in `sendshortcut` dispatcher.
# Clipboard *history* lives on Super+Ctrl+V (and Super+Alt+V delete-mode).
set -euo pipefail
cls=$(hyprctl activewindow -j 2>/dev/null | jq -r '.class // empty' | tr '[:upper:]' '[:lower:]')
case "$cls" in
*kitty*|*foot*|*ghostty*|*alacritty*|*wezterm*|*xterm*|*konsole*|*term*)
hyprctl dispatch sendshortcut "CTRL SHIFT, V, activewindow" ;;
*)
hyprctl dispatch sendshortcut "CTRL, V, activewindow" ;;
esac