dotfiles/scripts/bookmarksMacOS.sh

6 lines
170 B
Bash
Raw Normal View History

2024-11-30 21:52:04 +01:00
#!/bin/sh
[[ ! -f ~/.bookmarks ]] && touch ~/.bookmarks
dupa=$(awk '{print $1}' ~/.bookmarks | dmenu-mac)
cliclick t:$(cat ~/.bookmarks | grep $dupa | awk '{print $2}')