summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* windowrules: rewrite completely (#12269)Vaxry2025-11-171-1/+1
| | | | | | | Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* config/keybinds: add a submap universal keybind flag (#12100)Luke Barkess2025-11-111-23/+24
|
* dispatchers: add forceidle (#11922)MithicSpirit2025-10-191-0/+1
| | | | | | | | | The forceidle dispatcher resets all ext-idle-notify timers as if the user had been idle for the specified number of seconds. If a notification has already fired, but would now be set with a nonzero delay, then it is reset. Conversely, if a timer has not yet fired, but would now be set to a nonpositive delay, then it is immediately fired. This process ignores any existing inhibitors, but timers are otherwise reset as normal if any new inhibitors are created or destroyed.
* config: add automatic closing to submaps (#11760)ItsOhen2025-10-111-4/+12
| | | | | | | | | | | | | | | | | | | | | | | * Allow submaps to auto reset to parent. * Really should be a stack instead. If hyprlang would allow for { } i would be so happy. * Fixed: Somewhat better way to do it.. Lets you define what submap you want to go to instead. * squash! Fixed: Somewhat better way to do it.. * God i hate cf.. * Force clang-format on the whole thing.. * Removed {}. * Added tests Tests and reset fix.
* keybinds: use the triggering keyboard for repeat timings (#11309)Vaxry2025-08-051-1/+2
|
* ci: correct tar command for xz compression & fix typos (#11213)xqso2025-07-251-1/+1
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-18/+20
|
* time: move to stl's clocks and move timerVaxry2025-04-161-1/+1
|
* binds: add drag_threshold for click/drag isolation (#9839)alaricljs2025-04-121-0/+3
| | | | | --------- Co-authored-by: Leeman <lstrout@enlj.com>
* keybinds: add sendkeystate dispatcher (#9599)nyx2025-03-251-0/+1
|
* keybinds: Added `toggleswallow` dispatcher (#5548)Tom Benham2025-02-051-0/+1
| | | | | | | * Added `toggleswallow` dispatcher * clang-format * Removed brackets for 1-line if
* dispatchers: add cyclenext hist option (#9055)Alexander2025-02-031-1/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* selectors: add a tag: to for matching window tag(s) by regex (#8985)zakk42232025-01-091-0/+1
|
* keybinds: add new window destruction dispatchers (#8962)littleblack1112025-01-081-1/+5
|
* internal: added reference to CTimer class in KeybindManager (#8836)Avi Herman2024-12-251-0/+1
|
* pluginAPI: add register dispatcher v2Vaxry2024-12-191-6/+0
|
* core: drop using deques in favor of vectorsVaxry2024-12-161-28/+28
| | | | No point in most of these.
* core: Add clang-tidy (#8664)Vaxry2024-12-071-3/+4
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* keybinds: move to managed pointersVaxry2024-11-181-5/+5
|
* keybinds: allow repeating multiple binds (#8290)MightyPlaza2024-11-181-4/+3
|
* bind: new long press option (#8302)littleblack1112024-11-151-1/+4
| | | | | --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* hyprctl: move setprop into dispatchers (#8275)MightyPlaza2024-10-281-0/+1
| | | | | | | | | * move setprop into dispatchers modified: src/debug/HyprCtl.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp * add deprecated modified: src/debug/HyprCtl.cpp
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-1/+1
| | | | | * move monitors to sp * XD
* hyprctl: add submap requestvaxerski2024-09-241-0/+1
| | | | fixes #7898
* input: move dmps activation to input listeners (#7721)Maximilian Seidler2024-09-091-0/+1
|
* workspacerules: fix on-created-empty window focus (#7657)Sungyoon Cho2024-09-061-1/+2
|
* keybinds: refactor dispatchers to be better (#7331)Ikalco2024-08-241-82/+89
|
* internal: refactor fullscreen states (#7104)MightyPlaza2024-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor fullscreen modified: src/Compositor.cpp modified: src/Compositor.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/LayerSurface.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/desktop/Workspace.hpp modified: src/events/Windows.cpp modified: src/helpers/Monitor.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/DwindleLayout.hpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/layout/MasterLayout.hpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/IdleInhibitor.cpp modified: src/managers/input/InputManager.cpp modified: src/managers/input/Swipe.cpp modified: src/protocols/ForeignToplevelWlr.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/config/ConfigManager.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/Swipe.cpp * fix mapWindow fullscreen modified: src/events/Windows.cpp * fix typo modified: src/desktop/Workspace.cpp * add fullscreenstate modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp * change syncFullscreen to lower modified: src/config/ConfigManager.hpp * initialize fs state modified: src/desktop/Window.hpp
* input: unify removing currentlyDraggedWindow (#7071)MightyPlaza2024-07-271-1/+2
| | | | | | | | modified: src/desktop/Window.cpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/InputManager.cpp
* keybinds: remove toggleopaque (#7024)MightyPlaza2024-07-241-1/+0
| | | | modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp
* keybinds: add bindp and noshortcutsinhibit (#7017)MightyPlaza2024-07-241-0/+1
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-0/+1
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* keybinds: add custom event dispatcherVaxry2024-06-151-0/+1
| | | | fixes #3439
* binds: Add description to key binds (#6358)Moritz G2024-06-111-17/+19
| | | | | --------- Co-authored-by: Yusuf Duran <firatyusuf.d@gmail.com>
* config: add tag dispacther and window rule (#6211)giskard2024-05-281-0/+1
|
* keybinds: Added new dispatcher (sendshortcut) (#6174)Can2024-05-241-0/+7
|
* keybinds: add keybind combos and add Left and Right mod distinction. (#5966)Gabriel Ford2024-05-161-14/+29
|
* cursor: move to a hyprland implVaxry2024-05-091-3/+4
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* input: Introduce basic hyprland HID classesVaxry2024-05-031-1/+2
| | | | | | Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.
* internal: fix a few asan reported leaks on exit of hyprland (#5852)Tom Englund2024-05-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * notifications: free cairo images on destruction asan reports a leak on exit if we dont free the image we created in the draw function. add a destructor and free images on exit. * compositor: destroy wlroots types on exit there are a few types not being destroyed on exit and causing a leak on exit in wlroots reported by asan, add those. * cursormgr: ensure we destroy cursor mgr on exit add a destructor and call wlr_xcursor_manager_destroy on the manager on destruction, leak reported by asan. * keybindmgr: free state and keymap add missing keymap_unref on creation, and add a destructor and free the state on exit. leak reported by asan. * skeyboard: add destructor and free state free the state on destruction of keyboard, reported as leak by asan
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-3/+3
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* shortcuts-inhibitor: move to new implVaxry2024-04-251-1/+0
|
* config: Expand on window matching (#5518)SoSeDiK2024-04-211-1/+4
| | | | | * Expand on window matching * Requested changes
* workspacerules: add back on-created-empty functionality (#5452)staz2024-04-061-0/+1
| | | | | | | | | | | | | | | * workspacerules: add back on-created-empty functionality * clang format * workspacerules: spawn on-created-empty window while initializing CWorkspace * clang format * configManager: fix typo --------- Co-authored-by: Your Name <you@example.com>
* keybinds: fix spammy warningVaxry2024-04-041-2/+0
|
* keybinds: add Dispatchers for "force float" and "force tiling" (non-toggle) ↵djvs2024-03-171-0/+4
| | | | | | | | | (#5137) --------- Co-authored-by: djvs <djvs@users.noreply.github.com>
* keybinds: track submap at press for keypressesVaxry2024-03-091-0/+1
| | | | fixes #5037
* keybinds: Add the 'catchall' keyword that matches all keys (#4930)Tobias Zimmermann2024-03-031-1/+8
| | | | | | | | | | | | | | | | * Add the 'catchall' keyword that matches all keys This keyword can be used to define arbitrary keybinds. The only special behavior that it exhibits is that it matches every key, including modifier keys. Any flags still apply normally. This commit also fixes an issue that keys bound via the code:KEYCODE format were not unbound correctly. * Disallow catchall keybinds outside of submaps A catchall keybind outside a submap would prevent essentially all key events from going through to applications and would be difficult to remove again.
* wayland: implement keyboard_shortcuts_inhibit_v1Vaxry2024-02-271-0/+1
| | | | fixes #4568