aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/RofiSearch.sh
diff options
context:
space:
mode:
authorLevent Kaan Oğuz <54986478+LeventKaanOguz@users.noreply.github.com>2024-04-21 02:34:26 +0300
committerLevent Kaan Oğuz <54986478+LeventKaanOguz@users.noreply.github.com>2024-04-21 02:34:26 +0300
commitc561734c9de932c9e314be55505b1972fa5eed11 (patch)
tree610d5d1885f2ec668086f2aa87a8561c0da89771 /config/hypr/scripts/RofiSearch.sh
parent9e7b21bd113a2bf0de06cb8d06fc369167cd3a46 (diff)
feat: Added Google search & shortcut for rofi
Diffstat (limited to 'config/hypr/scripts/RofiSearch.sh')
-rwxr-xr-xconfig/hypr/scripts/RofiSearch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/hypr/scripts/RofiSearch.sh b/config/hypr/scripts/RofiSearch.sh
new file mode 100755
index 00000000..a16b52d8
--- /dev/null
+++ b/config/hypr/scripts/RofiSearch.sh
@@ -0,0 +1,3 @@
+# Opens rofi in dmenu mod and waits for input. Then pushes the input to the query of the URL.
+#
+echo "" | rofi -dmenu -p "Search:" | xargs -I{} xdg-open https://www.google.com/search?q={}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage