summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* xwayland: add option to enable/disable xwayland (#7633)trianta2024-09-051-0/+25
| | | | | | | | | | | | | | | | | | | * config: add xwayland enabled option to config * xwayland: use DISPLAY env variable for enable/disable of new launches * xwayland: close X11 windows when turning of XWayland * clang: format fix * config: add better description for xwayland:enabled * xwayland: close X11 windows on disable without crashes * xwayland: better method of informing CXWayland if xwayland enabled * xwayland: prevent closing non-xwayland windows on disable * misc: loop formatting
* config: Add a window rule to render while unfocused (#7582)Vaxry2024-08-301-1/+2
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-13/+13
| | | now we roll loops at blazing constified speed.
* misc: fix some minor typos (#7530)Tom Englund2024-08-261-1/+1
| | | | | | | | | | * keybindmgr: fix typo in swap prev seems a suspicious extra ) got added, remove it. * configmgr: dont dereference invalid iterator i think the idea here was to print the key and not the iterator at or past .end()
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-18/+18
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* config: fix uninitialized values with mode parsingVaxry2024-08-241-2/+2
|
* windowrules: add fullscreenstate field (#7466)Sungyoon Cho2024-08-231-14/+48
| | | | | * windowrules: add fullscreenstate field * fix typo
* animations: add workspace in/out configsvaxerski2024-08-211-1/+9
|
* core: add option to control which window to focus on close (#7368)ParaN3xus2024-08-211-0/+1
|
* IPC: Add config descriptions (#7377)Vaxry2024-08-171-3/+60
| | | | | | | Thanks @gulafaran for the work --- Co-authored-by: @gulafaran
* config: fix explicit sync option warning (#7293)Ikalco2024-08-121-4/+13
|
* cursor: make inactive_timeout setting a float (#7268)Walt Bringenberg2024-08-101-1/+1
|
* cursormgr: add a new setting to sync gsettings (#7253)Tom Englund2024-08-091-0/+1
| | | | | | cursor:sync_gsettings_theme is set to default true and if enabled it will now sync xcursor theme loading with gsettings if it can, meaning CSD clients will now also change to the appropiate theme upon start and hyprctl setcursor THEME SIZE .
* internal: introduce new types to avoid unsigned int rollover and signed int ↵Tom Englund2024-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | overflow (#7216) * framebuffer: avoid gluint overflow GLuint was being initialized to -1 and rolling over to unsigned int max, its defined behaviour but very unnecessery. add a bool and use it for checking if allocated or not. * opengl: avoid gluint rollover -1 rolls over to unsigned int max, use 0xFF instead. * core: big uint64_t to int type conversion there were a few uint64_t to int implicit conversions overflowing int and causing UB, make all monitor/workspaces/windows use the new typedefs. also fix the various related 64 to 32 implicit conversions going around found with -Wshorten-64-to-32
* renderer: Explicit sync fixes (#7151)Vaxry2024-08-061-3/+14
| | | | | Enables explicit sync by default for most platforms `misc:no_direct_scanout` -> `render:direct_scanout`
* internal: refactor fullscreen states (#7104)MightyPlaza2024-07-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor fullscreen 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/LayerSurface.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/desktop/Workspace.hpp modified: src/events/Windows.cpp modified: src/helpers/Monitor.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/DwindleLayout.hpp modified: src/layout/IHyprLayout.cpp modified: src/layout/IHyprLayout.hpp modified: src/layout/MasterLayout.cpp modified: src/layout/MasterLayout.hpp modified: src/managers/KeybindManager.cpp modified: src/managers/KeybindManager.hpp modified: src/managers/input/IdleInhibitor.cpp modified: src/managers/input/InputManager.cpp modified: src/managers/input/Swipe.cpp modified: src/protocols/ForeignToplevelWlr.cpp modified: src/render/Renderer.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * clean up modified: src/config/ConfigManager.cpp modified: src/debug/HyprCtl.cpp modified: src/desktop/Window.hpp modified: src/desktop/Workspace.cpp modified: src/events/Windows.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/Swipe.cpp * fix mapWindow fullscreen modified: src/events/Windows.cpp * fix typo modified: src/desktop/Workspace.cpp * add fullscreenstate modified: src/config/ConfigManager.cpp modified: src/events/Windows.cpp * change syncFullscreen to lower modified: src/config/ConfigManager.hpp * initialize fs state modified: src/desktop/Window.hpp
* configmgr: fix warningvaxerski2024-07-271-1/+1
|
* config: avoid using initial ws tracking for exec-onceVaxry2024-07-251-0/+2
|
* keybinds: add bindp and noshortcutsinhibit (#7017)MightyPlaza2024-07-241-2/+6
|
* touch: add touch swipe invert config (#6940)khachbe2024-07-211-0/+1
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-9/+14
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* input: Emulate discrete scrolling from v120 events (#6881)Agent00Ming2024-07-181-0/+1
| | | | | | | * seat: avoid sending axis_stop() when source is wheel * fix rounding for absolute discrete values greater than 1 Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
* config: use hyprutils helper (#6891)Mihai Fufezan2024-07-161-35/+34
| | | | | | | | | | | * flake.lock: update nix/overlays: remove xwayland overlay (merged upstream) * config: use hyprutils helper * flake.lock: update * CMake & Meson: update required versions
* config: add option to exit window while retaining fullscreen (#516) (#6880)Khiet Tam Nguyen2024-07-151-0/+1
| | | | | * feat: saving fullscreen mode and state for restoring later * style: no p-prefix, capitalised constants
* core: Improve handling of window properties (#6776)MightyPlaza2024-07-111-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* config: don't crash when getenv HOME returns nullMaximilian Seidler2024-07-071-1/+6
|
* pointer: change min cursor padding to 0 (#6027)drendog2024-07-021-1/+1
| | | | | | | | | | | | | * fix: change min cursor padding to 0 * chore: set default hotspot padding to 0 * fix: adjusting clamp after getting closest point to fix getting off limit point * fix: deal with floating point to clamp to prev value * refactor: max coords to vector * fix: remove box closestPoint adjustment due its fix on hyprutils
* dbus: import PATH XDG_DATA_DIRS variables into systemd and dbus sessionJohn Titor2024-06-231-2/+2
|
* core: add ability to select previous workspace per monitor (#6598)Alexander2024-06-221-7/+6
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: Move to hyprutils for MathVaxry2024-06-191-1/+2
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* input: add cursor:warp_on_changeworkspace (#6480)memchr2024-06-161-0/+1
| | | | | | | | | * input: add cursor:warp_on_changeworkspace If enabled, warp the cursor to the last focused window on the workspace in the `changeworkspace' dispatcher, except if the cursor is currently on the WLR top layer. Respect persistent warps. * warp_on_change_workspace: check if focused layer is a window.
* master: refine master layout new window handling (#6479)memchr2024-06-151-1/+2
| | | | | | | | | | | | | | | | | | | | | * ## Open window relative to active window `new_on_active`: - `none` (default): - `before`: above of the focused window - `after`: below the focused window If the focused window is the solo master window, or the new window replaces master, this option has no effect and new_on_top are respected. ## Refine new window status control **BREAKING CHANGE**: new_is_master removed in favour of new variable `new_status`: - `slave` (default): new window open as slave - `master`: new window open as master - `inherit`: new window inherit status from active window, i.e. when the focused window is master, new window will become new master, otherwise new window are added to slaves * refactor: rename a few variables
* vrr: add option to fix mouse breaking vrr (#6483)UjinT342024-06-141-0/+2
| | | | | | | | | | | | | | | * option to fix mouse breaking vrr * skip damage on mouse move * remove this-> & cleanup * add cursor:min_refresh_rate to avoid cursor freezing * run clang-format --------- Co-authored-by: UjinT34 <ujin@uvpn.ru>
* keybinds: fix bindm (#6429)Moritz G2024-06-111-0/+3
| | | | | | | * fixed mouse dispatcher * no brakets * move command up
* binds: Add description to key binds (#6358)Moritz G2024-06-111-17/+22
| | | | | --------- Co-authored-by: Yusuf Duran <firatyusuf.d@gmail.com>
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-10/+12
| | | | | | | | | | | | | * 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>
* gestures: Add gestures:workspace_swipe_min_fingers option (#6342)John M. Harris, Jr2024-06-071-0/+1
| | | | | | | | | | When gestures:workspace_swipe_min_fingers is enabled, gestures:workspace_swipe_fingers is considered to be the minimum number of fingers required to swipe. This behavior is more similar to sway and macOS's default behavior. For example, this allows you to set workspace_swipe_fingers to 3, but swipe with 4 or more fingers instead of 3.
* input: add cursor:persistent_warps to maintain relative position within a ↵memchr2024-06-071-0/+1
| | | | | | | | | window (#6338) Allows the cursor to return to its last relative position within a window when the window is refocused. Allows the cursor to retain its relative position within a window when the window is swapped, moved, changed workspace, added to or removed from groups. controlled with cursor:persistent_warps
* config: add tag dispacther and window rule (#6211)giskard2024-05-281-22/+54
|
* hyprctl: Add Config Flag to `hyprctl systeminfo` (#6160)Gabriel Ford2024-05-251-0/+19
|
* internal: Replace monitor rule when disabling head. (#6136)Alessio Molinari2024-05-231-0/+12
| | | Closes #5978
* keybinds: Add option to disable window direction monitor fallback (#6182)shezdy2024-05-221-0/+1
| | | | | * add monitor fallback option * format
* renderer: render fonts with pango, add global `font_family` config option ↵giskard2024-05-221-2/+3
| | | | (#6138)
* error: Add option to change position of HyprError bar (#3241) (#6111)Tuur Vanhoutte2024-05-171-0/+1
|
* keybinds: add keybind combos and add Left and Right mod distinction. (#5966)Gabriel Ford2024-05-161-4/+20
|
* decoration: Stacked group tabs (#5886)zakk42232024-05-161-0/+1
| | | | | | | | | | | | * Stacked group tabs * Fix index when creating groupbar title textures * Changes for stacked dnd * formatting * Don't remove internal horizontal padding when calculating stacked bar width
* configmgr: shadow exec rules when window is unmappedVaxry2024-05-161-0/+3
| | | | fixes #6091
* primary-selection: move to hyprland implVaxry2024-05-141-0/+1
|
* xdg-shell: move to new implVaxry2024-05-141-2/+2
|
* windowrules add focusonactivate (#5976)MightyPlaza2024-05-101-2/+2
| | | | | modified: src/config/ConfigManager.cpp modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp