generated from andy/linux-nixos-hyprland-config-dotfiles
Initial commit
This commit is contained in:
7
home/.config/fish/functions/bookmark_delete.fish
Normal file
7
home/.config/fish/functions/bookmark_delete.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function bookmark_delete
|
||||
set bookmark $(cat .bookmarks | rofi -dmenu -p 'delete bookmark')
|
||||
if not [ -z $bookmark ]
|
||||
sed -i -e /$bookmark/d .bookmarks
|
||||
dunstify "Bookmarks" "Bookmark '$bookmark' was deleted" -t 2000
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user