summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* config: move various cursor-related vars to cursor:Vaxry2024-05-091-8/+8
|
* layer-shell: move to new implVaxry2024-05-091-3/+4
| | | | Also bumps the hw-s dep
* cursor: move to a hyprland implVaxry2024-05-091-0/+3
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* workspacerule: Fix monitor settings being deleted when merging ws rules (#5864)thejch2024-05-041-0/+9
| | | | | * fix deleting monitor settings when merging rules * use empty and workspace invalid
* output-management: move to new implVaxry2024-05-031-1/+6
|
* config: added option to choose the default monitor for the cursor (#5847)Ikalco2024-05-031-0/+1
| | | | | | | * added option to choose the default monitor that the cursor will appear in upon startup * fix: don't set cursor to default monitor after startup * refactor to checkDefaultCursorWarp also fix focus
* internal: store matched windowrules and emit eventVaxry2024-05-021-1/+1
| | | | new event for plugins, windowUpdateRules
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-2/+2
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* log: Add some colors to stdout log 🔴🟡🟢🔵🟣 (#5778)thejch2024-04-291-1/+4
| | | | | | | * add colored log * add config option * make it dynamic
* 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
* config: Default unconfigured monitors to open to the right (#5741)eriedaberrie2024-04-251-2/+11
| | | | | * config: default unconfigured monitors to open to the right * monitor: improve logging for auto positioning
* renderer: Fix mirrored displays when transformed and preserve aspect ratio ↵Virt2024-04-241-0/+4
| | | | | | | | | | | | | (#5697) * renderer: transform mirror buffer and preserve mirror aspect ratio * renderer: render mirrors directly from offloadFB * renderer: fix formatting * renderer: use monitorMirrorFB again, but properly damage mirrors * renderer: clean mirrors after reload and support cursor zoom mirroring
* config: Add More Monitor 'Auto' Positions. (#5670)Gabriel Ford2024-04-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * Reverse Window Positioning. * Cleanup old comments and logs. * Finish Splitting Left and Right offset. * Forgot to add Auto Left to ConfigManager * Fix problems with auto_left. * Nearly finish up and down. * Finish draft of all four dirs. Testing now. * Change Y value in moveTo for up and down. * Format, comment, and cleanup. * Address Vaxry's feedback. * Add check to see if auto position is first rule. * Run clang-format.
* windows: add misc:initial_workspace_trackingVaxry2024-04-231-0/+1
| | | | | | By default enabled, will track the initial opened workspace of a window spawned for 2 minutes or until it's moved to a different workspace. For example: you run a launcher and open an app on workspace 1, but quickly switch to workspace 2. The app will now open on workspace 1 regardless of your switch.
* config: Allow more sensible input options for enabling animations. (#5659)Gabriel Ford2024-04-201-3/+6
| | | | | | | | | * Add check for on/off and true/false. * Cleanup feature and comment it out. * Use already created helper function for this. * Fix comparing int to char* ptr
* config: merge all rules set for the same workspace selection (#5656)thejch2024-04-201-29/+35
|
* swipe: nuke numberedVaxry2024-04-111-1/+0
| | | | | | fixes #5424 use_r instead
* renderer: Add dimaround layer rule (#4643)TheOnlyMrCat2024-04-111-2/+2
|
* workspace: update windows when selector match could change (#5533)Sungyoon Cho2024-04-101-5/+4
| | | | | | | * workspace: update windows when group updates * workspace: update windows when floating toggle * workspace: update windows when stop dragging window by mouse
* input: Option for handling off-window axis events (#4177)dranull2024-04-081-0/+1
|
* config: verify string length in wrv2 before calling backVaxry2024-04-081-1/+1
| | | | ref #5431
* workspacerules: add back on-created-empty functionality (#5452)staz2024-04-061-4/+4
| | | | | | | | | | | | | | | * 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>
* workspacerules: fix workspace rule loops (#5433)thejch2024-04-051-5/+35
|
* layers: separate anim configs for open/close (#5421)end-42024-04-041-0/+9
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-4/+4
| | | | | * refactor workspaces to use ptrs * clang-format
* core: match all workspace rules instead of the first one only (#5340)thejch2024-03-311-5/+7
|
* keybinds: add binds:disable_keybind_grabbingVaxry2024-03-291-0/+1
| | | | fixes #5273
* input: add misc:hide_cursor_on_key_pressVaxry2024-03-281-0/+1
| | | | fixes #3045
* renderer: allow blurring ls popupsVaxry2024-03-251-1/+2
|
* config: be a bit louder in the disabled log warningVaxry2024-03-231-2/+4
|
* input: Add options to set tablet's active area (#5199)Khalid2024-03-231-4/+8
| | | | | | | | | * Add options to set tablet's active area * Set tablet's active area in `setTabletConfigs` * Fix formatting for new variables in ConfigManager * Report tablet's physical size with hyprctl
* config: Config error limit/hyprctl (#5165)zakk42232024-03-211-0/+11
| | | | | | | | | | | | | | | | | | | * Add error_limit to limit the number of config error messages shown in notification * Add configerrors hyprctl command * Formatting * Formatting for not my code * Use CVarList, add escapeJSONStrings * Add indication there are more undisplayed errors * Restore suppress_errors; move getErrors() to ConfigManager * Formatting, wtf * Format
* tablet: Add left_handed option for tablets (#5178)Khalid2024-03-201-0/+1
| | | | | * Add left_handed option for tablets * Update left_handed tablet option's fallback string
* config/workspace: added workspace selectorsVaxry2024-03-191-28/+22
|
* swipe: Touchscreen workspace swipe (#4489)Zach DeCook2024-03-171-0/+1
| | | | | | | | | * Workspace Swipe: Refactor update and end functions * Touch: Implement workspace swipe better ignoring additional fingers and new touches allow gaps-right and gaps-left to be different
* input: add general:resize_corner for manual resizing (#5090)djvs2024-03-131-0/+1
| | | | | | | | | * Resize corner config thing * clang-format --------- Co-authored-by: djvs <djvs@users.noreply.github.com>
* config: more safety around monitor keywordVaxry2024-03-121-13/+48
| | | | ref https://github.com/hyprwm/hyprland-wiki/issues/523
* config: report errors from sourced filesVaxry2024-03-111-2/+9
|
* internal: Support libhyprcursor (#5009)Vaxry2024-03-091-0/+1
| | | | | | | woo --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* config: Add input:scroll_factor configuration (#4980)Grant Ammons2024-03-051-0/+1
| | | | | | | | | | * Allow for input:scroll_factor configuration This PR will allow for a `scroll_factor` configuration within an `input` block. The purpose is to control the scroll factor of external mice. Closes #2574. * clang-format
* config: improve config value infrastructureVaxry2024-03-031-2/+2
|
* keybinds: Add the 'catchall' keyword that matches all keys (#4930)Tobias Zimmermann2024-03-031-9/+21
| | | | | | | | | | | | | | | | * 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.
* xdg: minor improvements to initial size reportingVaxry2024-03-021-2/+2
| | | | fixes #4918
* configmgr: fix compile on 32-bit archsVaxry2024-02-291-162/+162
| | | | fixes #4895
* xdg: check for floating conditions before sending tiled size hintVaxry2024-02-281-1/+1
| | | | ref #4871
* layers: add fully featured animationsVaxry2024-02-281-1/+4
| | | | | | | | Adds configs and layerrules to handle them alas fixes #981 I have cooked
* config: Add option to resolve keybinds by sym instead of code (#4851)Tobias Zimmermann2024-02-271-0/+2
| | | | | | | | | | | | | | This commit adds the new configuration option 'resolve_binds_by_sym' which can be set globally or per-device. It is off by default, which preserves the current behavior. This setting only affects the behavior of keybinds that are defined via key symbols, not those defined via keycode. Binds defined by symbols currently activate if the keycode pressed would generate the specified symbol on the first layout specified in the input section. If enabled, keys pressed on the relevant device will instead match keybinds by the symbols they produce with their current layout. Closes #1881.
* config: add defaultName for workspace rulesVaxry2024-02-271-0/+2
| | | | alas, fixes #665
* input: Map touch devices and tablets bound to an output (#3544)Philip Damianik2024-02-271-20/+8
| | | | | | | | | | | * Map bound touch devices and tablets to an output * Add "[[Auto]]" default option for auto detecting outputs for touch inputs * Bind new monitors to configured touch and tablet devices * Use Monitor::matchesStaticSelector in CConfigManager::getMonitorRuleFor * Use Monitor::matchesStaticSelector in CCompositor::getMonitorFromString
* config: fix layout invalidation for keyword commands (#4826)JManch2024-02-241-7/+3
|