summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
...
* config: avoid using initial ws tracking for exec-onceVaxry2024-07-251-3/+5
|
* keybinds: add bindp and noshortcutsinhibit (#7017)MightyPlaza2024-07-241-0/+1
|
* config: use hyprutils helper (#6891)Mihai Fufezan2024-07-161-9/+9
| | | | | | | | | | | * flake.lock: update nix/overlays: remove xwayland overlay (merged upstream) * config: use hyprutils helper * flake.lock: update * CMake & Meson: update required versions
* core: Improve handling of window properties (#6776)MightyPlaza2024-07-111-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add mWindowProperties modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp * support int values modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp * create m_sWindowData modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * simplify some properties modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/managers/KeybindManager.cpp * store multiple values in CWindowOverridableVar modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up 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/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * use SET_PROP priority for exec rules modified: src/config/ConfigManager.hpp modified: src/desktop/Window.cpp * add default value modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * add setprop toggle modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp * add setprop toggle modified: src/debug/HyprCtl.cpp * make window rules functional modified: src/config/ConfigManager.cpp modified: src/desktop/Window.cpp * minor fixes modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp * properly clean layout data modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp * remove newline modified: src/events/Windows.cpp * fixes modified: src/config/ConfigManager.hpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp * use CamelCase modified: src/Compositor.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/layout/IHyprLayout.cpp modified: src/managers/AnimationManager.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/XWaylandManager.cpp modified: src/render/OpenGL.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-1/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* hyprctl: Add Config Flag to `hyprctl systeminfo` (#6160)Gabriel Ford2024-05-251-0/+1
|
* internal: Replace monitor rule when disabling head. (#6136)Alessio Molinari2024-05-231-0/+1
| | | Closes #5978
* output-management: move to new implVaxry2024-05-031-0/+1
|
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-3/+2
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-1/+1
| | | | | | | | | | | | | | | | | * 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: merge all rules set for the same workspace selection (#5656)thejch2024-04-201-0/+1
|
* configmgr: fix header priorityVaxry2024-04-111-0/+1
|
* workspacerules: fix workspace rule loops (#5433)thejch2024-04-051-1/+1
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-1/+1
| | | | | * refactor workspaces to use ptrs * clang-format
* core: match all workspace rules instead of the first one only (#5340)thejch2024-03-311-1/+1
|
* config: Config error limit/hyprctl (#5165)zakk42232024-03-211-0/+2
| | | | | | | | | | | | | | | | | | | * 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
* refactor: move window.hpp to desktop/Vaxry2024-03-201-1/+2
|
* xdg: minor improvements to initial size reportingVaxry2024-03-021-1/+1
| | | | fixes #4918
* config: add defaultName for workspace rulesVaxry2024-02-271-0/+1
| | | | alas, fixes #665
* input: Map touch devices and tablets bound to an output (#3544)Philip Damianik2024-02-271-1/+1
| | | | | | | | | | | * 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
* feat: Add css style gaps (#4723)Dashie2024-02-211-2/+2
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-85/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+1
| | | | fixes #4736
* config: improve layoutopt handling for workspacerulesVaxry2023-12-111-15/+15
|
* workspacerules: Add workspace rule for master layout orientation (#3964)thejch2023-12-021-14/+15
| | | | | | | | | | | * add workspace rule for master layout orientation * change rule format * edit rule name * use map for layoutopts * use std::any instead of string
* pluginapi: add a config keyword adding methodVaxry2023-10-291-1/+10
|
* workspacerules: Add new optional "default command" for auto-launching apps ↵Brenno Lemos2023-10-221-13/+14
| | | | on new workspaces (#3559)
* workspacerules: Add a persistent workspace rule (#3530)Roberto Previdi2023-10-091-0/+1
| | | | | * add persistent flag to workspace rules * get rid of unused ws->indestructible flag
* input: Add map to region options for tablets (#3425)Cascade aka. Isoheptane2023-09-271-0/+3
| | | | | * Add region remap for tablets * Fix code style
* varlist: move to a separate header, add joinvaxerski2023-09-121-69/+1
|
* config/input: Improve fallback behavior for unset device config values (#3184)Philip Damianik2023-09-061-4/+4
| | | | | | | | | * Fix fallback behavior for unset device config values * Replace overload with default argument for fallback config key * Remove default value for fallback argument in source * Fix typos
* remove shadow no_gaps_when_only (#2956)MightyPlaza2023-08-121-0/+1
| | | | | | | modified: src/Window.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/layout/DwindleLayout.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp
* config: add vrr per-displayvaxerski2023-08-111-13/+1
|
* plugins: fix config value usage in initvaxerski2023-07-101-0/+2
|
* Xdg config home support (#2047)Ed Younis2023-07-071-0/+2
| | | | | | | | | | | | | | | | | | * config: Add support for XDG_CONFIG_HOME Contributes-to: #1040 Co-authored-by: Björn Bidar <bjorn.bidar@thaodan.de> Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de> * config: Log used config file * config: Add GetConfigDir and minor fixes * config: fixed minor nitpicks --------- Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de> Co-authored-by: Björn Bidar <bjorn.bidar@thaodan.de>
* config: fix reading touchpad values to non-touchpad per-device cfgsvaxerski2023-07-061-4/+4
|
* renderer,config: add custom DRM modeline support (#2254)Andrei Alexeyev2023-05-091-0/+2
| | | | | | | | | | | | | | This allows specifying custom display resolutions for the DRM backend. This is useful for display overclocking, working around broken EDIDs, etc. To use this feature, specify a modeline instead of a resolution in the config, for example: monitor = DP-1, modeline 1071.101 3840 3848 3880 3920 2160 2263 2271 2277 +hsync -vsync, 0x0, 1 This example is a custom 3840x2160@120Hz mode with tightened timings. I use it because the standard timings don't work with my monitor and GPU combination (M28U with RX580). The syntax is compatible with Sway and Xorg.
* Add "next on monitor or empty" workspace parameter (#2198)scorpion-262023-05-081-0/+1
| | | | | | | | | | | | | | | | | | | | | * Add "next on monitor or empty" workspace parameter Implements the following workspace parameter: r+x/r-x (i.e. r+1): Behaves similar to the "m" parameter, but can also select empty workspaces and it doesn't wrap around * Improve code comments * Implementation V2 for 'r' workspace param * Rebase to upstream Should fix CI * Always set outName * Include named workspaces Currently only considers open/active named workspaces
* varlist: allow using s for std::isspacevaxerski2023-05-061-3/+14
|
* configmanager: deprecate bindwsvaxerski2023-05-051-2/+0
|
* configmanager: store workspace rules as a dequevaxerski2023-05-051-1/+2
|
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-011-2/+17
| | | | | | | | | | | | | | | | | | | | | | * added some workspace-specific rules * added some worskpace-specific rules, with windowrule like syntax * monitor is not mandatory anymore * pointers to config are now static * fixed optional WorkspaceRule fields * Windows can now specify border size * removed CHyprOpenGLImpl::renderBorder borderSize default value * stuff --------- Co-authored-by: Alessio Molinari <alessiomolinari@gmail.com> Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* Declarative plugin management (#2180)outfoxxed2023-05-011-0/+4
| | | | | | | | | | | | * Declarative plugin management Allow declaring `plugin` entries in the hyprland configuration. Plugins will be loaded if an entry is added and unloaded if that entry is removed. * Replace pointers with copying in updateconfigPlugins * Include which plugin was declared twice in error
* debug: added manual_crashvaxerski2023-04-041-1/+2
|
* internal: rename ensureDPMS to ensureMonitorStatusvaxerski2023-04-031-1/+1
|
* Fix some typos (#1907)Alexander Seiler2023-03-291-1/+1
| | | Signed-off-by: Alexander Seiler <seileralex@gmail.com>
* config: improve ux on workspace and transformvaxerski2023-03-181-10/+11
|
* config: fix long variables being substrdvaxerski2023-03-181-2/+2
|
* Allow environment in configvaxerski2023-03-051-0/+3
|
* add env keyword to cfgvaxerski2023-03-051-0/+1
|