summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-03 00:59:20 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-03 00:59:20 -0500
commit0640716f807c332d12d4fc45032c8c904f636114 (patch)
tree4baa6870d412b8947234ce1a25c446a1059d7c4c /.scripts
parent7fed5bb0a79cb9e2bd3038b9ec26e148908d8ba6 (diff)
downloadeibhear-0640716f807c332d12d4fc45032c8c904f636114.tar.gz
eibhear-0640716f807c332d12d4fc45032c8c904f636114.tar.zst
eibhear-0640716f807c332d12d4fc45032c8c904f636114.zip
tweaks
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/i3cmds/dmenuunicode4
-rwxr-xr-x.scripts/tools/linkhandler2
2 files changed, 3 insertions, 3 deletions
diff --git a/.scripts/i3cmds/dmenuunicode b/.scripts/i3cmds/dmenuunicode
index 71185ef..e9efa0c 100755
--- a/.scripts/i3cmds/dmenuunicode
+++ b/.scripts/i3cmds/dmenuunicode
@@ -11,8 +11,8 @@ chosen=$(grep -v "#" ~/.emoji | dmenu -i -l 20 -fn Monospace-18)
c=$(echo "$chosen" | sed "s/ .*//")
echo "$c" | tr -d '\n' | xclip -selection clipboard
-pgrep -x dunst >/dev/null && notify-send "'$c' copied to clipboard."
+notify-send "'$c' copied to clipboard." &
s=$(echo "$chosen" | sed "s/.*; //" | awk '{print $1}')
echo "$s" | tr -d '\n' | xclip
-pgrep -x dunst >/dev/null && notify-send "'$s' copied to primary."
+notify-send "'$s' copied to primary." &
diff --git a/.scripts/tools/linkhandler b/.scripts/tools/linkhandler
index 86723de..54944d5 100755
--- a/.scripts/tools/linkhandler
+++ b/.scripts/tools/linkhandler
@@ -1,6 +1,6 @@
#!/bin/sh
-# Feed script a url.
+# Feed script a url or file location.
# If an image, it will view in feh,
# if a video or gif, it will view in mpv
# if a music file or pdf, it will download,