aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KeyHints.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-09-20 12:46:32 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-09-20 12:46:32 +0900
commit7d376633842c143e658a3900c1d7fb10f8af4033 (patch)
treee23bd823f47cef8d9c50e98ddec1a5d9aab19c17 /config/hypr/scripts/KeyHints.sh
parent3056d2060700d35b37b05634e226c734304a5efe (diff)
updates: Keybinds added in Hint button (right click), Added Default_v4 waybar for non-laptop. Minor ags style tweak. Minor tweak on config-keybinds.rasi
Diffstat (limited to 'config/hypr/scripts/KeyHints.sh')
-rwxr-xr-xconfig/hypr/scripts/KeyHints.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh
index 3534f2e4..e2e12634 100755
--- a/config/hypr/scripts/KeyHints.sh
+++ b/config/hypr/scripts/KeyHints.sh
@@ -5,6 +5,11 @@
# GDK BACKEND. Change to either wayland or x11 if having issues
BACKEND=wayland
+# Check if rofi is running and kill it if it is
+if pgrep -x "rofi" > /dev/null; then
+ pkill rofi
+fi
+
# Detect monitor resolution and scale
x_mon=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .width')
y_mon=$(hyprctl -j monitors | jq '.[] | select(.focused==true) | .height')
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage