mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
6 lines
274 B
Bash
Executable file
6 lines
274 B
Bash
Executable file
#!/bin/bash
|
|
|
|
selection=$( cat ~/scripts/bookmarks | sed -r 's/^([^ ]*) .*$/\1/' | rofi -p open -theme /home/leon/scripts/rofi-scripts/default_theme.rasi -dmenu -no-custom )
|
|
[ -z "$selection" ] && exit 1
|
|
|
|
cat ~/scripts/bookmarks | sed -n -r "s/^$selection (.*)$/\1/p" | bash
|