summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* config: Config error limit/hyprctl (#5165)zakk42232024-03-211-0/+25
| | | | | | | | | | | | | | | | | | | * 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
* internal: Support libhyprcursor (#5009)Vaxry2024-03-091-10/+2
| | | | | | | woo --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* hyprctl: hide unmapped windows without -aVaxry2024-03-081-3/+12
|
* windowrules: Make min/maxsize rules dynamic (#4775)Epilepsy Gatherings2024-03-081-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rebase * simplify and remove prop * Stuff - add back win prop - change minsize defaults - change request formatting for setprop * style fix * remove empty line * change defaults * redo string to vec * remove redundant parsing * change to vec * support commas * remove static rules * take out garbage * format * don't allow commas and resize on setprop * use isNumber
* hyprctl: Fix incorrect invalid fontsize kwarg response (#5013)ItsDrike2024-03-071-1/+1
|
* notify: Add custom fontsize support for notifications (#4981)ItsDrike2024-03-061-6/+18
| | | | | | | | | | | | | * Add custom fontsize support for notifications * Remove debug stuff * Use original default font size * Handle fontsize as keyword arg * Use CVarList::join instead of for loop * Use size_t for msgidx
* hyprctl: print format and modesVaxry2024-03-051-4/+39
| | | | fixes #4971
* hyprctl: parse custom types in getoptionVaxry2024-03-041-4/+5
|
* config: improve config value infrastructureVaxry2024-03-031-2/+4
|
* keybinds: Add the 'catchall' keyword that matches all keys (#4930)Tobias Zimmermann2024-03-031-3/+5
| | | | | | | | | | | | | | | | * Add the 'catchall' keyword that matches all keys This keyword can be used to define arbitrary keybinds. The only special behavior that it exhibits is that it matches every key, including modifier keys. Any flags still apply normally. This commit also fixes an issue that keys bound via the code:KEYCODE format were not unbound correctly. * Disallow catchall keybinds outside of submaps A catchall keybind outside a submap would prevent essentially all key events from going through to applications and would be difficult to remove again.
* notifs: Implement notification dimissing (#4790)ItsDrike2024-03-021-0/+21
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* hyprctl: add -r argumentVaxry2024-02-241-9/+46
|
* hyprctl: jsonify new gapsVaxry2024-02-231-3/+4
| | | | fixes #4820
* feat: Add css style gaps (#4723)Dashie2024-02-211-5/+11
|
* hyprctl: reload everything on dynamic source keywordsvaxerski2024-02-191-5/+6
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-20/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* socket2: `monitoraddedv2` IPC event for monitor description and id (#4646)Jacob Birkett2024-02-151-2/+2
| | | | | | | | | * add monitor szShortDescription without DRM node name * change hyprctl to use szShortDescription * add monitoraddedv2 event * add monitor ID as first param of monitoraddedv2
* internal: add `forcenofocus` prop (#4672)Epilepsy Gatherings2024-02-131-1/+12
| | | | | * add forcenofocus * change nofocus to overridable var
* hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681)ComycSans2024-02-121-1/+1
|
* pluginapi: allow registering hyprctl commandsVaxry2024-02-051-94/+94
| | | | closes #4616
* hyprctl: move to a class and unify commandsVaxry2024-02-051-136/+132
|
* config: Add border gradients to windowrulev2 (#4335)Isaac Myhal2024-01-141-2/+2
| | | | | | | * Add border gradients to windowrulev2 * windowrule border gradient: Use CVarList to parse * windowrule border gradient: No {} around short ifs
* hyprctl: screen_shader config fixes (#4102)dranull2024-01-141-1/+8
| | | | | * Allow "/" in values of requests * Don't tick on empty value
* hyprctl: add systeminfovaxerski2024-01-011-0/+36
|
* hyprctl: add decorations (#4275)MightyPlaza2023-12-281-0/+28
| | | | | | | | | | | | | | | | | | * add hyprctl decorations modified: hyprctl/main.cpp modified: src/debug/HyprCtl.cpp modified: src/render/decorations/CHyprBorderDecoration.cpp modified: src/render/decorations/CHyprBorderDecoration.hpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprDropShadowDecoration.hpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fixes modified: hyprctl/main.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp
* hyprctl: check only ISDEBUG in version (#3702)André Silva2023-12-261-8/+2
|
* hyprctl: add commit date to "hyprctl version" (#4171)MightyPlaza2023-12-171-2/+3
| | | | | | | | | | | | * add commit date to "hyprctl version" modified: scripts/generateVersion.sh modified: src/debug/HyprCtl.cpp modified: src/version.h.in * Nix: add date to hyprctl --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-15/+14
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* monitor: remove comma from monitor description (#3996)François Conzelmann2023-11-301-2/+2
| | | | | | this allows for monitor specific rules to work on monitor with comma on their description fixes #2457
* hyprctl: Add 'layouts' command (#3895)zakk42232023-11-211-2/+26
| | | | | | | | | | | * Add hyprctl 'layouts' command formatting * Add getAllLayoutNames(), move m_vLayouts back to private Formatting * clang-format
* plugins: make logging on error more verboseVaxry2023-11-171-16/+17
| | | | ref #3874
* hyprctl: add monitors all to report all connected monitors (#3730)TheAngusMcFire2023-11-171-9/+18
| | | | | --------- Co-authored-by: Christian Rieger <christian.rieger@student.tugraz.at>
* logging: move to an internal rolling log bufferVaxry2023-11-141-0/+16
| | | | disables logging to the logfile by default
* hyprctl: use a rolling buffer for reading requestsVaxry2023-11-131-9/+16
| | | | fixes #3846
* hyprctl: return group list in correct order (#3683)Tobias Pisani2023-11-091-17/+10
|
* Core: various unsafe state improvements (#3713)Vaxry2023-11-011-1/+1
| | | Fixes #3637
* hyprctl: add focusHistoryID to hyprctl clientsVaxry2023-10-281-4/+13
| | | | fixes #3661
* windowrules: add nearestneighborVaxry2023-10-241-0/+2
|
* hyprctl: log monitor id in workspaces requestVaxry2023-10-241-6/+8
| | | | fixes #3640
* hyprctl: add a query for workspace rules (#3630)Roberto Previdi2023-10-211-0/+60
|
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-13/+13
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* tearing: cleanup vars and avoid rendering before drm is readyvaxerski2023-09-301-2/+2
|
* hyprctl: log activelyTearing for monitorsvaxerski2023-09-301-4/+6
|
* renderer: Tearing implementation (#3441)Vaxry2023-09-281-0/+2
|
* hyprctl: fix crash in unsafe state with activeworkspacevaxerski2023-09-251-0/+7
| | | | fixes #3419
* hyprctl: avoid .pop_back() on empty stringvaxerski2023-09-231-1/+2
|
* logging/format: use std::format_string to catch formatting string errors at ↵memchr2023-09-201-70/+71
| | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat
* hyprctl: print monitor IDs as int64vaxerski2023-09-191-2/+2
|
* hyprctl: Make device configs queryable (#3226)Philip Damianik2023-09-091-4/+5
| | | | | | | | | | | * Make device configs queryable Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com> * Add set property to getoption output --------- Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>