aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/gtk-debug
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/gtk-debug')
-rwxr-xr-x.local/bin/gtk-debug8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/gtk-debug b/.local/bin/gtk-debug
new file mode 100755
index 0000000..0005bcd
--- /dev/null
+++ b/.local/bin/gtk-debug
@@ -0,0 +1,8 @@
+#!/bin/sh -eu
+program=$(basename "$0")
+
+{ [ "${1:-}" = "-h" ] || [ "${1:-}" = "--help" ] || [ "$#" = 0 ]; } &&
+ printf "Usage: %s [COMMAND]...\n" "$program" &&
+ exit
+
+GTK_DEBUG=interactive $1