diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-09-20 19:02:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-20 19:02:39 +0900 |
| commit | 2b715deacefc61247ca15ed8527730c0537407f1 (patch) | |
| tree | 17cb1dbbba207b5b22d647853fd0d8945a487560 /config/hypr/scripts/KeyHints.sh | |
| parent | 50d110bf76233350c9478bb6b107c67758fcb234 (diff) | |
| parent | e1e8a5d54a47d04488d42e9141d414874cf83838 (diff) | |
Merge pull request #453 from JaKooLit/development
Development to Main
Diffstat (limited to 'config/hypr/scripts/KeyHints.sh')
| -rwxr-xr-x | config/hypr/scripts/KeyHints.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/hypr/scripts/KeyHints.sh b/config/hypr/scripts/KeyHints.sh index 0f8a989a..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') @@ -43,6 +48,7 @@ GDK_BACKEND=$BACKEND yad --width=$dynamic_width --height=$dynamic_height \ "ESC" "close this app" "" "=" "SUPER KEY (Windows Key)" "(SUPER KEY)" \ " enter" "Terminal" "(kitty)" \ " SHIFT enter" "DropDown Terminal" "(kitty-pyprland)" \ +" SHIFT K" "Searchable Keybinds" "(Keybinds)" \ " A" "Desktop Overview" "(AGS Overview)" \ " D" "App Launcher" "(rofi-wayland)" \ " T" "Open File Manager" "(Thunar)" \ |
