.dotfiles/.config/sway/search.fish
2024-10-21 21:34:03 +03:00

8 lines
232 B
Fish
Executable file

#!/bin/env fish
set search (echo "" | rofi -dmenu -p "" -theme-str 'listview {lines: 0;}')
if test "$search" != ""
firefox --new-tab "https://www.google.de/search?q=$search" && swaymsg [app_id="org.mozilla.firefox"] focus
end