aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-11-28 01:15:47 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-11-28 01:15:47 +0100
commiteb84b0d46d6024eabf11cfca3986802b5f8b2c6d (patch)
treeee64fb35b199aa187235d97845722454b5b7b459 /scripts
parent920eec1fa29e9fe11dba5157a5049d79de21deb1 (diff)
downloaddotfiles-eb84b0d46d6024eabf11cfca3986802b5f8b2c6d.tar.gz
dotfiles-eb84b0d46d6024eabf11cfca3986802b5f8b2c6d.zip
[i3] add shortcut to open url from primary selection
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/open_primary_in_browser.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/open_primary_in_browser.sh b/scripts/open_primary_in_browser.sh
new file mode 100755
index 0000000..9fb05d6
--- /dev/null
+++ b/scripts/open_primary_in_browser.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+eval $BROWSER $(xclip -o -selection primary)