summaryrefslogtreecommitdiff
path: root/hyprctl
Commit message (Collapse)AuthorAgeFilesLines
* hyprctl: Fix `hyprctl` batch JSON command (#8749)Khalid2024-12-171-1/+3
|
* nix/meson: add re2 dependency (#8738)Austin Horstman2024-12-161-0/+1
| | | | | * nix/default: add re2 dependency * meson: add re2
* core: Move regex from stdlib to re2 (#8736)Vaxry2024-12-162-6/+6
| | | 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-132-18/+21
|
* Meson: formatMihai Fufezan2024-09-111-5/+21
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* hyprpm, hyprctl: update shell completionsloseardes772024-08-194-319/+366
|
* hyprpm, hyprctl: remove MakefilesMihai Fufezan2024-08-131-4/+0
|
* 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: link to much less libraries (#7212)Sami Liedes2024-08-071-1/+1
| | | | | | | | This makes hyprctl start significantly faster. $ time for ((i=0; i<1000; i++)); do hyprctl/hyprctl -j activewindow >/dev/null; done Before: 12.269 s (about 12.3 ms/execution) After: 2.142 s (about 2.1 ms/execution)
* hyprctl: increase hyprctl timeout to 5s to fix #6801 (#7152)Tuur Vanhoutte2024-08-021-1/+1
|
* Completions: use only awk (#6763)Lincoln Yuji de Oliveira2024-07-041-3/+3
|
* hyprctl completions: Use only awk rather than grep + awkLincoln Yuji2024-07-023-9/+9
| | | | | | | Using "awk '/<exp>/{ print $n }'" is more minimal and slightly faster than using "grep '<exp>' | awk '{ print $n }'". Signed-off-by: Lincoln Yuji <lincolnyuji@hotmail.com>
* 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: fix zsh completion (#6467)random29072024-06-191-0/+2
| | | Co-authored-by: random2907 <yarnjeetyadav1234567890@gmail.com>
* hyprctl: added --follow option to rolliglog (#6325)Alexander2024-06-142-10/+66
| | | Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
* core: move to hyprutils for utils (#6385)Vaxry2024-06-113-6/+9
| | | | | | | | | | | | | * 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-096-234/+249
|
* config: add tag dispacther and window rule (#6211)giskard2024-05-281-0/+1
|
* hyprctl: Add Config Flag to `hyprctl systeminfo` (#6160)Gabriel Ford2024-05-251-0/+2
|
* keybinds: Added new dispatcher (sendshortcut) (#6174)Can2024-05-244-7/+11
|
* hyprctl: return exitStatus in requestHyprpaper() and request() (#6083)Raphael Tannous2024-05-151-27/+31
|
* CMake: install files (instead of Makefile)Mihai Fufezan2024-05-051-1/+14
|
* 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
* misc: fix autocompletions for meson (hyprctl/hyprpm)Yixun Lan2024-04-191-1/+1
| | | | Signed-off-by: Julien Roy <julien@jroy.ca>
* misc: fix autocompletions for meson (hyprctl/hyprpm)Vaxry2024-04-151-1/+1
| | | | Signed-off-by: Florian sp1rit <sp1rit@disroot.org>
* hyprctl: fix fish completionsErrorNoInternet2024-04-091-1/+1
|
* hyprctl: fix zsh completionspostsolar2024-04-091-0/+2
| | | The file missed a line required by all ZSH completions in order to be automatically loaded
* props: Allow setting per-window fullscreen opacity (#5470)SoSeDiK2024-04-074-264/+260
|
* hyprpm: add shell completions (#5423)LOSEARDES772024-04-074-280/+271
| | | | | | | | | | | * hyprpm: add completions * hyprctl: correct spell mistakes * Apply fixes * makefile: correct shell completion paths * makefile: remove complletions on uninstalling
* hyprctl: fix grammar mistakes in completionsMihai Fufezan2024-04-044-367/+361
|
* hyprctl: Add shell completions (#5404)LOSEARDES772024-04-045-0/+763
|
* hyprctl: improve help pages (#5385)Micovec2024-04-032-49/+185
|
* 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
|