diff options
author | tsxv478 <vt0451@yandex.ru> | 2022-09-27 11:23:08 +0300 |
---|---|---|
committer | tsxv478 <vt0451@yandex.ru> | 2022-09-27 11:23:08 +0300 |
commit | b6942b1015683b251dc9cb65908d9dcc5d4d3ebf (patch) | |
tree | 500c4654c0b11204caa3b751121e5f4deba07322 /bm | |
parent | a84257e10aa3ca1b616424e2e4532bc785428756 (diff) |
remove border width dmenu option
Diffstat (limited to 'bm')
-rwxr-xr-x | bm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,13 +1,13 @@ #!/bin/sh path="$HOME/.local/share/bookmarks.txt" -bookmark=$(cat $path | dmenu -i -c -bw 3 -l 15 -p "Bookmark:") +bookmark=$(cat $path | dmenu -i -c -l 15 -p "Bookmark:") [ -z $bookmark ] && exit # append a url to the list if it's not present and exit [ -z $(grep -F $bookmark $path) ] && printf "%s\n" "$bookmark" >> $path && exit -action=$(printf "Open in browser\nCopy to clipboard\n" | dmenu -i -c -bw 3 -l 2 -p "Action:") +action=$(printf "Open in browser\nCopy to clipboard\n" | dmenu -i -c -l 2 -p "Action:") case $action in "Open in browser") $BROWSER $bookmark ;; |