why did I hardcode firefox? and fix qutemark
This commit is contained in:
parent
ab0cec3ab6
commit
19ceb2fa9d
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
browser firefox
|
browser xdg-open
|
||||||
keep-articles-days 30
|
keep-articles-days 30
|
||||||
mark-as-read-on-hover yes
|
mark-as-read-on-hover yes
|
||||||
|
|
||||||
|
@ -11,18 +11,17 @@ case "$command" in
|
|||||||
;;
|
;;
|
||||||
"delete")
|
"delete")
|
||||||
to_remove="$(cat -n "$qutemarks" | sed 's/^ *//' | dmenu)"
|
to_remove="$(cat -n "$qutemarks" | sed 's/^ *//' | dmenu)"
|
||||||
[ -z "$to_remove" ] || sed -i "${to_remove%% *}d" "$qutemarks"
|
if [[ "$to_remove" =~ "[0-9]* .*" ]]; then
|
||||||
|
sed -i "${to_remove%% *}d" "$qutemarks"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
"tabopen")
|
"tabopen"|"open")
|
||||||
opener="open -t"
|
|
||||||
;;
|
|
||||||
"{tab,}open")
|
|
||||||
opener="open"
|
opener="open"
|
||||||
if [ "$command" = "tabopen" ]; then
|
if [ "$command" = "tabopen" ]; then
|
||||||
opener="open -t"
|
opener="open -t"
|
||||||
fi
|
fi
|
||||||
to_open="$(dmenu < "$qutemarks")"
|
to_open="$(dmenu < "$qutemarks")"
|
||||||
echo "$command $to_open" >> "$QUTE_FIFO"
|
echo "$command ${to_open%% *}" >> "$QUTE_FIFO"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user