SelimovDE/bin/search

8 lines
218 B
Bash
Executable File

#!/bin/bash
dmenu="dmenu -l 0 -theme-str 'window {width: 80%;}' -i"
query=$(eval "$dmenu")
if [ -n "$query" ]; then
~/builds/zen-x86_64.AppImage --new-window "https://swisscows.com/en/web?query=${query// /+}"
fi