aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/colourgrab.sh
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-05-22 11:32:52 -0700
committershmibs <shmibs@gmail.com>2014-05-22 11:32:52 -0700
commitddff9cf6eb63fea91ef0f157c78effd7a2351f24 (patch)
tree1c2db9d66a925a066c294ad7bd104b7c2c33ddcd /.config/herbstluftwm/colourgrab.sh
parenta995874431c74929a8ac26ddaf96741429e6382d (diff)
downloaddotfiles-ddff9cf6eb63fea91ef0f157c78effd7a2351f24.tar.gz
added dmenu calculator
also added easy colour grabber
Diffstat (limited to '.config/herbstluftwm/colourgrab.sh')
-rwxr-xr-x.config/herbstluftwm/colourgrab.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/herbstluftwm/colourgrab.sh b/.config/herbstluftwm/colourgrab.sh
new file mode 100755
index 0000000..1144001
--- /dev/null
+++ b/.config/herbstluftwm/colourgrab.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+file=$(xoris)
+echo "$file" | tr -d '\n' | xclip -selection clipboard
+echo "$file" | tr -d '\n' | xclip -selection primary