Update rofi to full width

This commit is contained in:
Alex Selimov 2024-10-17 09:40:32 -04:00
parent 0cb0877306
commit 2b079d8512

View File

@ -6,8 +6,8 @@ function fail {
exit "${2-1}"
}
dmenu="dmenu"
citekey=$(pubs list | $dmenu | cut -d ' ' -f 1 | tr -d '[]\n' )
dmenu="dmenu -theme-str 'window {width: 100%;}' -i"
citekey=$(pubs list | eval "$dmenu" | cut -d ' ' -f 1 | tr -d '[]\n' )
if [ "$citekey" = "" ]; then
exit 1