summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* groupbars: make gradients toggleablevaxerski2023-05-221-0/+1
|
* groupbars: add title and gradient renderingvaxerski2023-05-221-0/+2
|
* lock: add allow_session_lock_restorevaxerski2023-05-131-0/+1
|
* workspacerules: overwrite on existingvaxerski2023-05-121-1/+6
|
* renderer,config: add custom DRM modeline support (#2254)Andrei Alexeyev2023-05-091-0/+55
| | | | | | | | | | | | | | 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/+4
| | | | | | | | | | | | | | | | | | | | | * 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
* configmanager: fix substr offset in default ws rulevaxerski2023-05-061-1/+1
|
* Add split preselection (#2240)Dashie2023-05-061-8/+9
|
* configmanager: remove useless log from handleWorkspaceRulevaxerski2023-05-051-1/+0
|
* configmanager: deprecate bindwsvaxerski2023-05-051-23/+5
|
* configmanager: store workspace rules as a dequevaxerski2023-05-051-15/+15
|
* config: clear layer rules on reloadvaxerski2023-05-041-0/+1
|
* Honor debug:enable_stdout_logs on startup (#2197)scorpion-262023-05-031-0/+2
| | | | | | | | | | * Honor debug:enable_stdout_logs on startup disableStdout is set via config in CConfigManager::init(), which is called early in CCompositor::initServer(). initServer() always disables stdout logs at the end though, even when stdout is enabled is config. With this commit, the config is respected. * Don't spam stdout message
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-011-8/+83
| | | | | | | | | | | | | | | | | | | | | | * 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>
* config: add missing header for libc++ after 3a631e40db78 (#2208)Jan Beich2023-05-011-0/+1
| | | | | | | | src/config/ConfigManager.cpp:1980:27: error: implicit instantiation of undefined template 'std::basic_stringstream<char>' std::stringstream error; ^ /usr/include/c++/v1/iosfwd:134:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_stringstream; ^
* Declarative plugin management (#2180)outfoxxed2023-05-011-0/+40
| | | | | | | | | | | | * 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
* rules: add noinitialfocusvaxerski2023-04-281-1/+2
|
* Add follow mouse mode to avoid refocusing under cursor (#2135)outfoxxed2023-04-251-0/+1
| | | * Add follow mouse mode to avoid refocusing under cursor
* Add windowrule fakeFullScreen (#2043)DB2023-04-181-2/+2
| | | Co-authored-by: xVermillionx <xVermillionx@notvalid>
* misc: scan ppids in exec rulesvaxerski2023-04-181-4/+8
|
* Format: use %lx for all addressesvaxerski2023-04-171-3/+3
|