aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-04-22 00:25:02 +0900
committerGitHub <noreply@github.com>2024-04-22 00:25:02 +0900
commitcd114b99915ed3954e54dd30bf17499660e330e7 (patch)
tree89eb9f932f2b73a45e4e698ada03be1200d50a8b /config/hypr/scripts
parentb85724e90cf7381971700a1d28afa24b1276bc9d (diff)
parent11afaaae3c841d5804d52ff92d84157270bfc88d (diff)
Merge pull request #205 from JaKooLit/development
Development to Main before
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/KeyHints.sh4
-rwxr-xr-xconfig/hypr/scripts/RofiSearch.sh10
-rwxr-xr-xconfig/hypr/scripts/TouchPad.sh2
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage