diff options
-rwxr-xr-x | bm | 4 | ||||
-rwxr-xr-x | emoji | 2 | ||||
-rwxr-xr-x | lit | 2 | ||||
-rwxr-xr-x | note | 2 | ||||
-rwxr-xr-x | vid | 2 |
5 files changed, 6 insertions, 6 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 ;; @@ -1,6 +1,6 @@ #!/bin/sh -emoji=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -c -bw 3 -l 15 -p "Emoji:" | sed "s/ .*//" | tr -d '\n') +emoji=$(cut -d ';' -f1 ~/.local/share/emoji | dmenu -i -c -l 15 -p "Emoji:" | sed "s/ .*//" | tr -d '\n') [ -z "$emoji" ] && exit @@ -1,6 +1,6 @@ #!/bin/sh path="$HOME/doc/lit" -book=$(find $path -type f | cut -d '/' -f '6-' | dmenu -i -c -bw 3 -l 15 -p "Open book:") +book=$(find $path -type f | cut -d '/' -f '6-' | dmenu -i -c -l 15 -p "Open book:") [ -f "$path/$book" ] && zathura "$path/$book" @@ -41,7 +41,7 @@ open_pager() { } dmenu_note() { - note="$(echo "\c" | dmenu -c -bw 3 -p 'Note:')" + note="$(echo "\c" | dmenu -c -p 'Note:')" printf "[$(date +'%d/%m/%Y, %H:%M')] %s\n\n" "$note" >> $notesdir/notes.txt } @@ -1,6 +1,6 @@ #!/bin/sh path="$HOME/vid" -video=$(find $path -type f | cut -d '/' -f '5-' | dmenu -i -c -bw 3 -l 15 -p "Play video:") +video=$(find $path -type f | cut -d '/' -f '5-' | dmenu -i -c -l 15 -p "Play video:") [ -f "$path/$video" ] && mpv --really-quiet "$path/$video" |