mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
267 B
11 lines
267 B
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
# Display contents of selection via dunst if running.
|
||
|
# Separate script for i3.
|
||
|
|
||
|
clip=$(xclip -o -selection clipboard)
|
||
|
prim=$(xclip -o -selection primary)
|
||
|
|
||
|
[ -n "$clip" ] && notify-send "Clipboard:" "$clip"
|
||
|
[ -n "$prim" ] && notify-send "Primary:" "$prim"
|