From b329f64fc4df84f509ce8fed9eabebe3d06396a4 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 15 Aug 2022 00:29:22 +0200 Subject: [PATCH] add global keybinds section --- pages/Configuring/Advanced-config.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pages/Configuring/Advanced-config.md b/pages/Configuring/Advanced-config.md index 963e4c3..d11a46c 100644 --- a/pages/Configuring/Advanced-config.md +++ b/pages/Configuring/Advanced-config.md @@ -319,6 +319,29 @@ allfloat -> makes all new windows floating (also floats/unfloats windows on togg allpseudo -> makes all new windows pseudo (also pseudos/unpseudos on toggle) ``` +# Global Keybinds +Yes, you heard this right, Hyprland does support global keybinds for ALL apps, +including OBS, Webcord, Firefox, etc. + +See the `pass` dispatcher for keybinds. + +e.g.: + +I've set the "Start/Stop Recording" keybind in OBS to SUPER+F10, and I want it +to be global. + +Simple, add +```plain +bind = SUPER,F10,pass,^(com\.obsproject\.Studio)$ +``` +to your config and you're done. + +{{< hint type=important >}} +`pass` has currently a minor issue with XWayland and may not fully work on XWayland apps. + +It works flawlessly with all native Wayland applications though. +{{< /hint >}} + # Executing you can execute a shell script on startup of the compositor or on each time it's