summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* special: add misc:close_special_on_emptyvaxerski2023-09-031-0/+1
| | | | fixes #3156
* wlr-ext-workspace: remove protocol implvaxerski2023-09-011-5/+0
| | | | Various reasons: 1st, memory issues. 2nd, MR got closed (see https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/35) 3rd, not needed anymore (waybar has its own hyprland/workspaces module)
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* internal: Fix XDP multi-portal issues (#3077)Vaxry2023-08-261-1/+0
| | | | | | | | | | | | | * add a hyprland portals conf * remove portal checks * typo * Nix: remove portal patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* renderer: add decoration:blur:specialvaxerski2023-08-251-0/+1
| | | | will blur behind the special ws
* input: add transparent bindsvaxerski2023-08-251-3/+7
| | | | | adds a new flag for binds to be transparent (non-shadowable) fixes #3058
* gestures: Swipe direction lock (#3052)end-42023-08-231-10/+12
|
* feat(debug): add debug:suppress_errors to suppress errors. (#3032)memchr2023-08-201-1/+2
|
* renderer: Border improvements (#2986)MightyPlaza2023-08-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify getting border size modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix border damage and input box modified: src/Window.cpp modified: src/managers/AnimationManager.cpp * add border size in resize_on_border box modified: src/managers/input/InputManager.cpp * simplify border (fixes possible typo) modified: src/Window.cpp * use updateSpecialRenderData() modified: Window.cpp modified: Window.hpp modified: events/Windows.cpp modified: layout/DwindleLayout.cpp modified: layout/IHyprLayout.cpp modified: layout/MasterLayout.cpp modified: render/Renderer.cpp * update window workspace rule data on reload modified: src/config/ConfigManager.cpp * use rounding() modified: src/Window.cpp
* internal: allow negative monitor offsetsvaxerski2023-08-161-8/+3
|
* remove shadow no_gaps_when_only (#2956)MightyPlaza2023-08-121-0/+2
| | | | | | | 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-3/+8
|
* rules: center window improvements (#2935)MightyPlaza2023-08-111-7/+13
| | | | | | | | | | | | | * center window improvements modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp * remove redundant line modified: src/events/Windows.cpp * simplify code modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp
* rules: add layer and window xray rulesvaxerski2023-08-091-2/+2
|
* keybinds: Keep aspect ratio (#2907)MightyPlaza2023-08-081-2/+3
|
* config: adjust default background colorvaxerski2023-08-081-1/+1
|
* background: add background color option (#2915)0x4552412023-08-081-0/+1
| | | Co-authored-by: 0x455241 <>
* renderer: Various Blur Improvements (#2877)Vaxry2023-08-031-6/+9
| | | | | * move blur to its own category * blur improvements, contrast, brightness, noise
* windowrules: add workspace paramvaxerski2023-08-021-27/+45
|
* config: schedule frame for mons on reloadvaxerski2023-08-011-0/+2
|
* keybinds: Make moveintogroup locking check configurable (#2796)memchr2023-07-241-0/+1
| | | | | * groups: revert to the old moveintogroup behaviour, ignore m_sGroupData.locked * groups: Make moveintogroup locking check configurable
* windowrules: implements nomaximizerequest (#2785)MightyPlaza2023-07-231-2/+2
| | | | | | | | | * Window.hpp * ConfigManager.cpp * Windows.cpp * fix maximize event
* add config option to enable/disable new intuitive resizing (#2774)end-42023-07-231-0/+1
| | | | | dwindle:smart_resizing = 1 by default == 1 then use new resizing else use old resizing
* background: add option to force hypr chanvaxerski2023-07-201-0/+1
|
* groups: add use_current_group_pos (#2759)MightyPlaza2023-07-201-0/+1
|
* internal: Protocol C++ Wraps + XDGOutput impl (#2733)Vaxry2023-07-181-3/+2
| | | move to our own xdgoutput impl instead of wlr's
* windowrules: add border size rulevaxerski2023-07-181-1/+1
|
* Add support for smart splitting (#2676)Daniel Adolfsson2023-07-111-0/+1
| | | | | | | * Add support for smart splitting * clang-format * smart_split default to 0, and make smart_split behave like preserve_split
* monitor desc default workspace but working now (#2678)MightyPlaza2023-07-111-2/+9
| | | | | * fix desc check * fixes crashes when nulptr
* plugins: fix config value usage in initvaxerski2023-07-101-1/+9
|
* pluginapi: add configReloaded eventvaxerski2023-07-101-2/+3
|
* config: minor path handling fixesvaxerski2023-07-101-0/+1
|
* monitor desc default workspace (#2673)MightyPlaza2023-07-101-4/+6
|
* monitor desc support (#2670)MightyPlaza2023-07-091-1/+5
| | | | | * monitor desc * monitor desc
* Xdg config home support (#2047)Ed Younis2023-07-071-55/+54
| | | | | | | | | | | | | | | | | | * 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-9/+9
|
* rules: add stayfocusedvaxerski2023-07-041-1/+1
|
* config: fix floating rules with floating-by-rule windowsvaxerski2023-07-021-2/+11
|
* gestures: add workspace_swipe_use_rvaxerski2023-07-011-3/+4
|
* Reloads animated decoration values set on window rules (#2594)MightyPlaza2023-06-281-3/+3
| | | | | | | | | | | * Reloads dynamic window rules * Update ConfigManager.cpp * Update ConfigManager.cpp * Reloads animated decoration values set on window rules Reloads animated decoration values like border color and opacity set on window rule on config reload.
* Reloads dynamic window rules (#2585)MightyPlaza2023-06-261-0/+8
| | | | | | | * Reloads dynamic window rules * Update ConfigManager.cpp * Update ConfigManager.cpp
* xwayland: send zero scaling to xwayland if enabledvaxerski2023-06-231-0/+3
|
* configmgr: fix idiotic comparisons in device configsvaxerski2023-06-211-1/+1
|
* Implement pass binds (#2503)outfoxxed2023-06-141-8/+11
| | | | | | | | | | * Implement pass binds Pass binds run the associated dispatcher but do not prevent windows from receiving the bind. * Fix pass binds not working properly with release binds * Rename `pass` to `nonConsuming`
* feat: add variable to customize locked group border color (#2507)memchr2023-06-131-4/+8
| | | | | added variables: - general:col.group_border_locked - general:col.group_border_locked_active
* xwayland: add force_zero_scalingvaxerski2023-06-111-0/+1
|
* xwayland: add nearest neighbor filtering as an optvaxerski2023-06-111-0/+2
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp
* rules: add nodimvaxerski2023-05-311-4/+4
|
* groupbars: add text color optvaxerski2023-05-271-0/+1
|