From 7d376633842c143e658a3900c1d7fb10f8af4033 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 20 Sep 2024 12:46:32 +0900 Subject: 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 --- config/hypr/scripts/KeyBinds.sh | 5 +++++ config/hypr/scripts/KeyHints.sh | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh index 29217910..01764f0f 100755 --- a/config/hypr/scripts/KeyBinds.sh +++ b/config/hypr/scripts/KeyBinds.sh @@ -3,6 +3,11 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Searchable enabled keybinds using rofi +# Check if yad is running and kill it if it is +if pgrep -x "yad" > /dev/null; then + pkill yad +fi + # Define the config files KEYBINDS_CONF="$HOME/.config/hypr/configs/Keybinds.conf" USER_KEYBINDS_CONF="$HOME/.config/hypr/UserConfigs/UserKeybinds.conf" 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') -- cgit v1.2.3