dotfiles/scripts/bookmarksMacOS.sh
2024-11-30 21:52:04 +01:00

5 lines
170 B
Bash
Executable file

#!/bin/sh
[[ ! -f ~/.bookmarks ]] && touch ~/.bookmarks
dupa=$(awk '{print $1}' ~/.bookmarks | dmenu-mac)
cliclick t:$(cat ~/.bookmarks | grep $dupa | awk '{print $2}')