diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2024-04-21 23:59:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-21 23:59:12 +0900 |
| commit | 15fb0732c99cb63ec3997210053373704de0eec2 (patch) | |
| tree | 20c73e6b7bbc250645f6f7b59ccb78c0a53d84b7 /config/hypr/scripts | |
| parent | e259d767b70efcb987dffb0a506ebed9e299dd44 (diff) | |
| parent | 3208ecfdfa18de1c6c3ffab309520e5459490828 (diff) | |
Merge pull request #203 from LeventKaanOguz/rofi-google-test
Adding Google Search to rofi indirectly
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/KeyHints.sh | 4 | ||||
| -rwxr-xr-x | config/hypr/scripts/RofiSearch.sh | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index f5be826d..796084b8 100755 --- a/config/hypr/scripts/KeyHints.sh +++ b/config/hypr/scripts/KeyHints.sh @@ -41,6 +41,7 @@ yad --width=$dynamic_width --height=$dynamic_height \ " enter" "Terminal" "(kitty)" \ " or D" "App Launcher" "(rofi)" \ " T" "Open File Manager" "(Thunar)" \ +" S" "Google Search" "(rofi)" \ " Q" "close active window" "(not kill)" \ " Shift Q " "closes a specified window" "(window)" \ " Alt V" "Clipboard Manager" "(cliphist)" \ @@ -68,6 +69,3 @@ yad --width=$dynamic_width --height=$dynamic_height \ " E" "View or EDIT Keybinds, Settings, Monitor" "" \ "" "" "" \ "More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\ - - - 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={} |
