From a4c48b0ea0b2b1d474d503fb8d924d190762e999 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 13 Feb 2025 12:56:57 +0900 Subject: Improvements on the rofi. Utilized message function for additional informations when script is used in conjunction with rofi --- config/hypr/scripts/RofiSearch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr/scripts/RofiSearch.sh') diff --git a/config/hypr/scripts/RofiSearch.sh b/config/hypr/scripts/RofiSearch.sh index d9576a1a..e256253a 100755 --- a/config/hypr/scripts/RofiSearch.sh +++ b/config/hypr/scripts/RofiSearch.sh @@ -5,7 +5,7 @@ # Opens rofi in dmenu mod and waits for input. Then pushes the input to the query of the URL. rofi_theme="$HOME/.config/rofi/config-search.rasi" - +msg='‼️ **note** ‼️ search via default web browser' # Kill Rofi if already running before execution if pgrep -x "rofi" >/dev/null; then pkill rofi @@ -15,4 +15,4 @@ fi # Open rofi with a dmenu and pass the selected item to xdg-open for Google search #echo "" | rofi -dmenu -config "$rofi_config" | xargs -I{} xdg-open "https://www.google.com/search?q={}" -echo "" | rofi -dmenu -config $rofi_theme | xargs -I{} xdg-open "https://www.google.com/search?q={}" +echo "" | rofi -dmenu -config $rofi_theme -mesg "$msg" | xargs -I{} xdg-open "https://www.google.com/search?q={}" -- cgit v1.2.3