aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-01-07 23:17:53 -0500
committertdro <tdro@users.noreply.github.com>2022-01-07 23:17:53 -0500
commit3741b2c30d9ce2887b63b86f56ceeb7bf58236c8 (patch)
tree25305dba4f6155d0893270e698f4a01879b21568 /.local
parent6f4641ed3ffb3d49f4b9e01dc1625837454b0ee3 (diff)
downloaddotfiles-3741b2c30d9ce2887b63b86f56ceeb7bf58236c8.tar.gz
dotfiles-3741b2c30d9ce2887b63b86f56ceeb7bf58236c8.tar.bz2
dotfiles-3741b2c30d9ce2887b63b86f56ceeb7bf58236c8.zip
.local/bin: Add gtk debug
Diffstat (limited to '.local')
-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