mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-30 12:01:16 +01:00
bulkadding .local files
This commit is contained in:
10
.local/bin/i3cmds/showclip
Executable file
10
.local/bin/i3cmds/showclip
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user