mirror of
https://github.com/CoolnsX/hyprdots.git
synced 2025-12-20 07:15:23 +05:30
Derp, asset redirection in dev mode
This commit is contained in:
@@ -7,7 +7,7 @@ data="$(wl-paste -p | tr '\n' '\`' | sed 's/$/ /g')"
|
||||
file="$HOME/.cache/bookmarks"
|
||||
oshi_file="$HOME/.cache/oshi-urls"
|
||||
|
||||
menu(){
|
||||
menu() {
|
||||
bemenu --fn 'Roboto 15' -i -c -W 0.6 -B 3 -l 30 -p "$1" --bdr="#$GLOBAL_ACCENT" --tf="#$GLOBAL_ACCENT" --hf="#$GLOBAL_ACCENT"
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ case $1 in
|
||||
rm)
|
||||
data="$(sed '/^$/d' "$file" | nl -n'ln')"
|
||||
[ -z "$data" ] && notify-send "Bookmark is empty" && exit 0
|
||||
del=$(printf "%s" "$data" | menu "delete-bookmark :" | cut -f1)
|
||||
del=$(printf "%s" "$data" | menu "delete-bookmark :" | cut -f1)
|
||||
[ -z "$del" ] || (sed -i "${del}d" "$file" && notify-send -i "bookmark-missing" "Bookmark deleted" -u critical)
|
||||
;;
|
||||
copy)
|
||||
|
||||
Reference in New Issue
Block a user