summaryrefslogtreecommitdiff
path: root/hyprctl/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* hyprctl: use new hyprpaper ipc format (#12537)Vaxry2025-12-041-539/+0
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* hyprctl: add getprop (#11394)Luke Barkess2025-08-181-0/+2
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-3/+5
|
* hyprctl: replace read-only strings with std::string_view (#10851)sam2025-06-261-24/+18
|
* hyprctl: don't detect a negative value as a parameter (#10671)Luuk Blankenstijn2025-06-081-1/+1
|
* hyprctl: Remove exceptions, use modern error handling (#10664)sam2025-06-061-36/+62
|
* internal: Catch filesystem exceptions while iterating RunTimeDir (#10648)sam2025-06-051-2/+5
|
* hyprctl: Error handling improvements, minor cleanups (#9536)Abdalrahman Shaban2025-03-061-27/+29
|
* hyprctl: Add IPC support for Hyprsunset (#9315)Aaron Tulino2025-02-211-0/+8
| | | | | | | * Add IPC support for Hyprsunset * clang-format * Add documentation
* hyprctl: Extract IPC code to separate method (#9223)Aaron Tulino2025-01-311-2/+6
| | | This makes it possible to use the same IPC code for more projects in the future
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-301-3/+0
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* hyprctl: Fix `hyprctl` batch JSON command (#8749)Khalid2024-12-171-1/+3
|
* core: Move regex from stdlib to re2 (#8736)Vaxry2024-12-161-5/+5
| | | Moves the regex handling from stdlib to re2
* core: drop using deques in favor of vectorsVaxry2024-12-161-4/+3
| | | | No point in most of these.
* hyprctl: avoid crash on null pwuidVaxry2024-12-131-3/+9
| | | | fixes #8693
* hyprctl: verify runtime dir exists in instances()Vaxry2024-11-251-0/+5
| | | | ref #8579
* hyprctl: convert std::cout and std::cerr to std::println()Toni500git2024-10-131-18/+19
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* core: Include cstring whenever strncpy is used (#7267)Zach DeCook2024-08-101-0/+1
| | | Fixes ppc64le build in alpine
* 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
* hyprctl: increase hyprctl timeout to 5s to fix #6801 (#7152)Tuur Vanhoutte2024-08-021-1/+1
|
* hyprctl: add a newline after log()Vaxry2024-06-241-1/+1
|
* hyprctl: make recv timeout bigger and give error message if it does timeout ↵Ikalco2024-06-221-1/+3
| | | | (#6621)
* hyprctl: added --follow option to rolliglog (#6325)Alexander2024-06-141-8/+63
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-6/+2
| | | | | | | | | | | | | * 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 --quiet flag (#6380)diniamo2024-06-091-19/+29
|
* hyprctl: Add Config Flag to `hyprctl systeminfo` (#6160)Gabriel Ford2024-05-251-0/+2
|
* hyprctl: return exitStatus in requestHyprpaper() and request() (#6083)Raphael Tannous2024-05-151-27/+31
|
* hyprctl: fix instances pathVaxry2024-05-011-1/+1
| | | | fixes #5831
* hyprctl: use XDG_RUNTIME_DIR if availableVaxry2024-04-301-5/+14
| | | | fixes #5813
* core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788)Vaxry2024-04-281-8/+14
| | | | | | Moves the directory containing sockets and logs. Also restructures lockfiles a bit. For consumers, check if `$XDG_RUNTIME_DIR/hypr` exists. If so, use it. If not, use the old `/tmp/hypr`.
* compositor: more fs safety around tmp directoriesVaxry2024-04-281-1/+1
| | | | HIS now includes a random bit, and hyprland will bail if /tmp/hypr is not a directory or if /tmp/hypr/his exists
* hyprctl: improve help pages (#5385)Micovec2024-04-031-49/+27
|
* hyprctl: output json with `--batch` if requested (#5277)Khalid2024-03-261-3/+9
|
* hyprctl: add missing commands to usage (#5211)Andrey Donets2024-03-211-0/+3
|
* hyprctl: hide unmapped windows without -aVaxry2024-03-081-0/+2
|
* notifs: Implement notification dimissing (#4790)ItsDrike2024-03-021-0/+3
|
* hyprctl: add missing newline in error case of missing ↵Sergei Trofimovich2024-02-241-1/+1
| | | | | | | | | | | | | | | | | `HYPRLAND_INSTANCE_SIGNATURE` (#4832) Before the change running a `hyprctl` in incomplete `Hyprland` environment merged error message and prompt for me as: $ hyprctl activewindow HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)$ (note trailing `$` prompt). After the change the newline is present as expected: $ hyprctl activewindow HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?) $
* hyprctl: ignore non-lock files for instancesVaxry2024-02-241-1/+1
|
* hyprctl: fix showing invalid instancesVaxry2024-02-241-2/+2
|
* hyprctl: add -r argumentVaxry2024-02-241-0/+3
|
* hyprctl: more safety around stoullVaxry2024-02-181-2/+6
|
* hyprctl: remove hardcoded hyprctl commands. (#4671)Alessio Molinari2024-02-121-44/+3
| | | | | | | * fix: remove hardcoded hyprctl commands. This allows plugin to properly register hyprctl commands. * fix: restore commands with min args
* hyprctl: add systeminfovaxerski2024-01-011-0/+3
|
* hyprctl: add decorations (#4275)MightyPlaza2023-12-281-0/+3
| | | | | | | | | | | | | | | | | | * 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: allow instances without HISVaxry2023-12-081-2/+6
|
* hyprctl: order commands alphabetically (#4061)Tungsten8422023-12-051-17/+17
|
* hyprctl: Add 'layouts' command (#3895)zakk42232023-11-211-0/+3
| | | | | | | | | | | * Add hyprctl 'layouts' command formatting * Add getAllLayoutNames(), move m_vLayouts back to private Formatting * clang-format
* logging: move to an internal rolling log bufferVaxry2023-11-141-0/+2
| | | | disables logging to the logfile by default
* hyprctl: Fix build warnings (#3821)Greatly Pleased2023-11-101-3/+2
|