summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-2/+13
| | | Cleanup some unneeded includes to speed up compilation
* renderer: unload background texture if it's disabledvaxerski2025-01-141-2/+3
| | | | ref #9031
* config: add exec(-onec) with rules and execr(-once) (#8953)littleblack1112025-01-111-4/+47
|
* core: Add render:allow_early_buffer_release to make buffer release ↵UjinT342025-01-101-0/+1
| | | | configurable (#9019)
* core: Add a periodic donation request (#8981)Vaxry2025-01-101-0/+1
| | | Will fire once in december and july. Disableable with `ecosystem:no_donation:nag`
* config: fix animations requiring all argsvaxerski2025-01-091-0/+5
| | | | fixes #9009
* core: use cpu-buffer hw cursors on nvidia by defaultvaxerski2025-01-081-3/+3
|
* config: update animation even if disabledvaxerski2025-01-071-23/+21
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-071-0/+4
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-108/+60
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* master: add option to show slaves on left in center orientation (#8940)Zetta1 Reid02025-01-071-0/+1
| | | Co-authored-by: Zetta1_Reid0 <11255-Zetta1_Reid0@users.noreply.gitlab.xfce.org>
* renderer: Add supercircular window corners (#8943)Pollux2025-01-051-0/+1
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* config: avoid querying the fs every tickvaxerski2025-01-021-14/+18
|
* ctm: disable fade animation by default on nvidiavaxerski2024-12-301-0/+1
| | | | Fixes #8891, the nvidia driver dies when we spam CTM too much.
* master: replace always_center_master with slave_count_for_center_master (#8871)khushal-solves2024-12-291-1/+1
| | | | | | | | | - Replaced boolean config parameter `always_center_master` to an integer value `slave_count_for_center_master` for more control on when to center master window. - Also updated configuration parameter, type, description and related internal variable. New description: **when using orientation=center, make the master window centered only when at least this many slave windows are open. (Set 0 to always_center_master)** This effects center orientation of master layout. Now, user can control when the master window would be centered
* ctm: add an internal fade animation to ctm transitionsvaxerski2024-12-291-0/+4
|
* core: refactor/improve monitor mode selection (#8804)Ikalco2024-12-281-2/+2
|
* debug: add debug:pass for debugging the render passVaxry2024-12-221-0/+1
|
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-221-1/+2
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* windowrules: add negative: prefix for negating a regexVaxry2024-12-211-13/+13
| | | | fixes #8799
* windowrules: precompute regexes for window/layer rulesVaxry2024-12-211-11/+23
|
* internal: remove dead code (#8748)Ikalco2024-12-171-20/+0
|
* core: Move regex from stdlib to re2 (#8736)Vaxry2024-12-161-38/+16
| | | Moves the regex handling from stdlib to re2
* core: Optimize window/layer rule application and scanning (#8735)Vaxry2024-12-161-151/+124
| | | Optimizes window and layer rule parsing and later usage.
* core: drop using deques in favor of vectorsVaxry2024-12-161-33/+33
| | | | No point in most of these.
* input: add warp_back_after_non_mouse_inputVaxry2024-12-151-0/+1
| | | | | | adds cursor:warp_back_after_non_mouse_input fixes #8675
* dispatchers: Add an option to prioritize focus change within groups with ↵normaltaro2024-12-131-0/+1
| | | | | | | | | | | movefocus (#8601) * modified movefocus dispatcher to prioritize focus change within groups * pass clang-format check * `movefocus` cycling groups set optional to config bool `movefocus_cycles_groupfirst` * Update ConfigDescriptions.hpp
* windowrules: add rules for mouse and touchpad scroll factors (#8655)Mike Will2024-12-111-3/+4
|
* core: Add clang-tidy (#8664)Vaxry2024-12-071-11/+13
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: Add support for hyprqtutils' update screen (#8651)Vaxry2024-12-061-0/+3
| | | | | | | | | * Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-10/+13
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* master: make center ignore reserved areas (#8625)UjinT342024-12-021-0/+1
|
* config: don't overwrite errors in gradientsVaxry2024-11-241-1/+2
|
* config: throw an error explicitly when parsing colors in gradientsVaxry2024-11-241-1/+4
| | | | ref #8552
* binds: add option to allow fullscreening a pinned window (#8526)littleblack1112024-11-231-0/+1
|
* renderer: add option to blur IME popups (#8521)Ryan2024-11-231-0/+2
|
* core: workspace-related function cleanup / refactorVaxry2024-11-221-2/+2
| | | | CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
* internal: fix some misused configStringToInt conversionsVaxry2024-11-201-2/+2
| | | | fixes #8523
* miscfunctions: move configStringToInt to std::expectedVaxry2024-11-181-19/+35
|
* renderer: add lockdead_screen_delay (#8467)Alexandre Acebedo2024-11-171-0/+1
|
* bind: new long press option (#8302)littleblack1112024-11-151-5/+8
| | | | | --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* pointer: add drm dumb buffers for cursors (#8399)Vaxry2024-11-141-1/+1
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* logging: Add some context to config error logs (#8326)SoSeDiK2024-11-121-8/+8
|
* config: Changed the default value of decoration:blur:ignore_opacity to true ↵nnra2024-11-111-1/+1
| | | | | | (#8418) This change is made in order to deliver the blur look majority of people expect by default.
* pointer: map devices across all outputs by default (#8352)JManch2024-11-111-0/+2
|
* groups: add merge_groups_on_groupbar (#8362)Aqa-Ib2024-11-061-0/+1
|
* shadow: add sharp and refactor optionsVaxry2024-11-051-8/+9
| | | | options moved to decoration:shadow:
* renderer: add expand_undersized_texturesVaxry2024-11-041-0/+1
| | | | adds an option to disable the texture expansion for textures that are smaller while resizing up
* monitors: fix vrr breaking monitor disconnect (#8314)Ikalco2024-11-011-3/+5
|
* snap: add option `border_overlap` and other improvements (#8289)Mike Will2024-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * snap: add option `border_overlap` and other improvements I really liked the way borders used to overlap when snapping and how only the window's main surface would snap to the monitor, so I would like to bring that behavior back, but in the form of a config option. Other improvements include: - reduced the number of snap functions from 4 down to 2, and only one ever gets called at any given time. - border size should not be added to gap size. It seemed like the right thing to do at the time, but it makes snapping feel way stronger than it actually should. - all const variables have been given the all-caps naming convention. - to avoid excessive casting, border size is declared as a double. - to avoid excessive x + w, y + h calculations. I'm using a struct called Range and working only with start and end values until the very end of the function. - check for both monitor snapping as well as reserved monitor space snapping in a relatively efficient way. * snap: always border-align for corners and reserved monitor space We probably don't want to treat reserved monitor space as if it were just a smaller monitor. Instead, it should be treated more like a borderless window, which means our window's border should never encroach upon it.