mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
first commit
This commit is contained in:
7
home/.config/fish/functions/clipboard_to_wlcopy.fish
Normal file
7
home/.config/fish/functions/clipboard_to_wlcopy.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function clipboard_to_wlcopy
|
||||
set clip $(cliphist list | rofi -dmenu -p 'clipboard copy')
|
||||
if not [ -z $clip ]
|
||||
echo $clip | cliphist decode | wl-copy
|
||||
dunstify "Clipboard" "Clip '$clip' was copied" -t 2000
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user