aboutsummaryrefslogtreecommitdiff
path: root/private_dot_local/bin/executable_surf-get-url
diff options
context:
space:
mode:
Diffstat (limited to 'private_dot_local/bin/executable_surf-get-url')
-rw-r--r--private_dot_local/bin/executable_surf-get-url3
1 files changed, 3 insertions, 0 deletions
diff --git a/private_dot_local/bin/executable_surf-get-url b/private_dot_local/bin/executable_surf-get-url
new file mode 100644
index 0000000..0e667d9
--- /dev/null
+++ b/private_dot_local/bin/executable_surf-get-url
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+xprop -id "$1" _SURF_URI | sed -e 's/_SURF_URI(UTF8_STRING) = \"\(.*\)\"/\1/' -e 's/\\\\\\(.\\)/\\1/g'