summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* config: add opengl:force_introspectionVaxry2024-02-231-0/+1
| | | | fixes #4819
* config: adjust default splash colVaxry2024-02-221-1/+1
|
* renderer: Update splash text properties to be configurable (#4707)Hiram Muñoz2024-02-211-0/+2
| | | | | | | * Update splash text properties to be configurable The splash text's font and color properties have been updated to be configurable. This change includes adding new configuration values for the splash screen color and font. The rendering of the splash screen is also adjusted to use these new config values, allowing for easy customization of the splash text appearance. * Updated to use Hyprlang config manager
* feat: Add css style gaps (#4723)Dashie2024-02-211-9/+46
|
* events: bring back accidentally nuked preConfigReloadVaxry2024-02-201-0/+1
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-1611/+1379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* rules: ignore static tile/float rules in dynamic getsVaxry2024-02-181-1/+4
| | | | fixes #4736
* windowrules: nuke no*requestVaxry2024-02-141-5/+5
|
* windowrules: add suppresseventVaxry2024-02-141-1/+1
| | | | deprecates nofullscreenrequest nomaximizerequest
* hyprctl: move to a class and unify commandsVaxry2024-02-051-0/+3
|
* renderer: Add new background infrastructureVaxry2024-01-291-1/+0
| | | | | | | | Adds new backgrounds from the winners of the contest Rewrites how it works Allows high color precision PNGs (RGB32F precisely) Fixes a small bug in renderTextureInternalWithDamage Nukes misc:force_hypr_chan
* monitor: wrap usage of wlr_output_stateVaxry2024-01-281-20/+12
| | | | | | for better control and convenience in usage. fixes #4546
* monitor: clear output state after usageVaxry2024-01-271-0/+8
| | | | fixes massive lag