Browse Source

Merge pull request #203 from LeventKaanOguz/rofi-google-test

Adding Google Search to rofi indirectly
pull/205/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
15fb0732c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      config/hypr/configs/Keybinds.conf
  2. 4
      config/hypr/scripts/KeyHints.sh
  3. 3
      config/hypr/scripts/RofiSearch.sh

1
config/hypr/configs/Keybinds.conf

@ -23,6 +23,7 @@ bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh
bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file
bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji
bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi
bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings
bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF
bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout

4
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" ""\

3
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={}
Loading…
Cancel
Save