Add configuration for GNOME

This commit is contained in:
Alexander Hess 2026-08-03 14:30:55 +02:00
commit 7804080953
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
47 changed files with 6899 additions and 0 deletions

25
.local/bin/screenshot-ui Executable file
View file

@ -0,0 +1,25 @@
#!/bin/sh
# Open GNOME's screenshot UI
# (i.e., what a simple "Print" does)
#
# The screenshot machinery lives inside `gnome-shell`
# and cannot be called directly because
# its D-Bus methods are restricted to trusted callers
#
# => We synthesize the key press instead, after a short delay
# so that a launcher's keyboard grab (e.g., `rofi`) is released
set -eu
[ "${XDG_SESSION_TYPE:-}" = "x11" ] || {
echo "X11 only (xdotool)" >&2
exit 1
}
sleep 0.2
xdotool key Print