From b690b90a4ccb84d0317bb2d124d19aebafb8f408 Mon Sep 17 00:00:00 2001 From: Pablu23 Date: Sat, 1 Jun 2024 20:10:15 +0200 Subject: [PATCH] Added discord global keybinds --- .config/hypr/config/binds.conf | 3 +++ .config/hypr/config/rules.conf | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.config/hypr/config/binds.conf b/.config/hypr/config/binds.conf index aaacebf..ce3b947 100644 --- a/.config/hypr/config/binds.conf +++ b/.config/hypr/config/binds.conf @@ -19,6 +19,9 @@ bind = $mainMod, G, exec, $steam # loginctl lock-session bind = $mainMod, M, exec, $spotify +bind = ,code:127,pass,class:(discord) +bind = ,code:51,pass,class:(discord) + # Bind multimedia keys bindle=, XF86AudioRaiseVolume, exec, vol --up bindle=, XF86AudioLowerVolume, exec, vol --down diff --git a/.config/hypr/config/rules.conf b/.config/hypr/config/rules.conf index fb2ae27..3093275 100644 --- a/.config/hypr/config/rules.conf +++ b/.config/hypr/config/rules.conf @@ -13,6 +13,8 @@ workspace=10,monitor:DP-2,persistent:true windowrulev2 = stayfocused, class:(swappy) +windowrulev2 = forceinput, class:(discord) + # Steam game rules # windowrulev2 = windowdance, class:^steam_app_.*$ # windowrulev2 = stayfocused, class:^steam_app_.*$