diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2024-04-22 00:25:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-22 00:25:02 +0900 |
| commit | cd114b99915ed3954e54dd30bf17499660e330e7 (patch) | |
| tree | 89eb9f932f2b73a45e4e698ada03be1200d50a8b /config/hypr/scripts | |
| parent | b85724e90cf7381971700a1d28afa24b1276bc9d (diff) | |
| parent | 11afaaae3c841d5804d52ff92d84157270bfc88d (diff) | |
Merge pull request #205 from JaKooLit/development
Development to Main before
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/KeyHints.sh | 4 | ||||
| -rwxr-xr-x | config/hypr/scripts/RofiSearch.sh | 10 | ||||
| -rwxr-xr-x | config/hypr/scripts/TouchPad.sh | 2 |
3 files changed, 12 insertions, 4 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..13148455 --- /dev/null +++ b/config/hypr/scripts/RofiSearch.sh @@ -0,0 +1,10 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +# Modified Script for Google Search +# Original Submitted by https://github.com/LeventKaanOguz + +# Opens rofi in dmenu mod and waits for input. Then pushes the input to the query of the URL. +# + +rofi_config="$HOME/.config/rofi/config-search.rasi" + +echo "" | rofi -dmenu -config "$rofi_config" -p "Search:" | xargs -I{} xdg-open https://www.google.com/search?q={} diff --git a/config/hypr/scripts/TouchPad.sh b/config/hypr/scripts/TouchPad.sh index 5119ac24..c5722c16 100755 --- a/config/hypr/scripts/TouchPad.sh +++ b/config/hypr/scripts/TouchPad.sh @@ -18,7 +18,7 @@ toggle_touchpad() { fi notify-send -u low -i "$notif" "Touchpad $action" - hyprctl keyword "device:$Touchpad_Device:enabled" "$(cat "$STATUS_FILE")" + hyprctl keyword "device[$Touchpad_Device]:enabled" "$(cat "$STATUS_FILE")" } toggle_touchpad |
