summaryrefslogtreecommitdiffstats
path: root/.scripts/i3cmds/xcqr
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/i3cmds/xcqr')
-rwxr-xr-x.scripts/i3cmds/xcqr9
1 files changed, 9 insertions, 0 deletions
diff --git a/.scripts/i3cmds/xcqr b/.scripts/i3cmds/xcqr
new file mode 100755
index 0000000..5e7b5f0
--- /dev/null
+++ b/.scripts/i3cmds/xcqr
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Credit to Maddison Hellstrom (@b0o on Github)
+qrencode -o - -s 1 \
+ "$(xclip -out -selection clipboard)" |
+ feh --zoom max \
+ -F \
+ --force-aliasing \
+ --image-bg white \
+ -