nyx
f7ba86d1f3
keybinds: add sendkeystate dispatcher ( #9599 )
2025-03-25 00:59:13 +01:00
Abdalrahman Shaban
2433760786
hyprctl: Error handling improvements, minor cleanups ( #9536 )
2025-03-06 00:50:28 +01:00
Aaron Tulino
2cfa5d2408
hyprctl: Add IPC support for Hyprsunset ( #9315 )
...
* Add IPC support for Hyprsunset
* clang-format
* Add documentation
2025-02-21 15:20:11 +01:00
Aaron Tulino
7d51dee103
hyprctl: Extract IPC code to separate method ( #9223 )
...
This makes it possible to use the same IPC code for more projects in the future
2025-01-31 13:33:36 +01:00
Honkazel
7d1c78f4a3
core,hyprctl: clang, clang-tidy, typo fixes and dtors changes ( #9233 )
...
* declare dtor once + DMABBUF typo fix
* dup include + clang moment
* linux-dmabuf: last minute nit change
2025-01-30 11:07:06 +00:00
Khalid
5f1df55fcb
hyprctl: Fix hyprctl
batch JSON command ( #8749 )
2024-12-17 18:26:02 +01:00
Austin Horstman
e340e9f431
nix/meson: add re2 dependency ( #8738 )
...
* nix/default: add re2 dependency
* meson: add re2
2024-12-16 20:22:36 +01:00
Vaxry
e06b520427
core: Move regex from stdlib to re2 ( #8736 )
...
Moves the regex handling from stdlib to re2
2024-12-16 19:21:44 +01:00
a5234f26e4
core: drop using deques in favor of vectors
...
No point in most of these.
2024-12-16 15:58:19 +00:00
3cba4ba44e
hyprctl: avoid crash on null pwuid
...
fixes #8693
2024-12-13 22:36:42 +00:00
2687788236
hyprctl: verify runtime dir exists in instances()
...
ref #8579
2024-11-25 14:42:11 +00:00
Toni500git
b61d4c3636
hyprctl: convert std::cout and std::cerr to std::println()
2024-10-13 14:13:56 +01:00
e01da1fd7a
Meson: format
2024-09-11 19:09:17 +03:00
Tom Englund
72c7818ae6
misc: constify the remaining for loops ( #7534 )
...
now we roll loops at blazing constified speed.
2024-08-26 20:24:30 +02:00
loseardes77
83d88fa564
hyprpm, hyprctl: update shell completions
2024-08-19 00:21:59 +03:00
c5ec079c6f
hyprpm, hyprctl: remove Makefiles
2024-08-13 22:14:58 +03:00
Zach DeCook
0bf9ceb53b
core: Include cstring whenever strncpy is used ( #7267 )
...
Fixes ppc64le build in alpine
2024-08-10 21:09:12 +01:00
Tom Englund
4b4971c06f
internal: introduce new types to avoid unsigned int rollover and signed int 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
2024-08-08 21:01:50 +02:00
Sami Liedes
d5bc3eb1fa
hyprctl: link to much less libraries ( #7212 )
...
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)
2024-08-07 16:28:02 +02:00
Tuur Vanhoutte
be2dfa36ef
hyprctl: increase hyprctl timeout to 5s to fix #6801 ( #7152 )
2024-08-02 21:49:47 +02:00
Lincoln Yuji de Oliveira
0a6e83005f
Completions: use only awk ( #6763 )
2024-07-04 14:21:07 +03:00
Lincoln Yuji
8bb75a223d
hyprctl completions: Use only awk rather than grep + awk
...
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>
2024-07-02 22:46:20 +03:00
4dd2b5902e
hyprctl: add a newline after log()
2024-06-24 23:58:10 +02:00
Ikalco
4778afe2e6
hyprctl: make recv timeout bigger and give error message if it does timeout ( #6621 )
2024-06-22 00:41:23 +02:00
random2907
6e5804b53d
hyprctl: fix zsh completion ( #6467 )
...
Co-authored-by: random2907 <yarnjeetyadav1234567890@gmail.com>
2024-06-19 09:20:49 +03:00
Alexander
b2590b58c5
hyprctl: added --follow option to rolliglog ( #6325 )
...
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
2024-06-14 12:11:40 +02:00
Vaxry
8c64a4bad7
core: move to hyprutils for utils ( #6385 )
...
* 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>
2024-06-11 17:17:45 +02:00
diniamo
121c6ac3ea
hyprctl: add --quiet flag ( #6380 )
2024-06-09 21:16:29 +02:00
giskard
ebf258788e
config: add tag dispacther and window rule ( #6211 )
2024-05-28 23:37:24 +02:00
Gabriel Ford
553232a3e4
hyprctl: Add Config Flag to hyprctl systeminfo
( #6160 )
2024-05-25 22:46:07 +02:00
Can
ce17961aad
keybinds: Added new dispatcher (sendshortcut) ( #6174 )
2024-05-24 20:58:26 +02:00
Raphael Tannous
3fe5280ce9
hyprctl: return exitStatus in requestHyprpaper() and request() ( #6083 )
2024-05-15 16:54:23 +01:00
99aa34db6e
CMake: install files (instead of Makefile)
2024-05-05 16:30:39 +03:00
47b087950d
hyprctl: fix instances path
...
fixes #5831
2024-05-01 16:47:38 +01:00
d7a48cf478
hyprctl: use XDG_RUNTIME_DIR if available
...
fixes #5813
2024-04-30 14:17:35 +01:00
Vaxry
a5a6480917
core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr ( #5788 )
...
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`.
2024-04-28 22:25:24 +01:00
f7815dab42
compositor: more fs safety around tmp directories
...
HIS now includes a random bit, and hyprland will bail if /tmp/hypr is not a directory or if /tmp/hypr/his exists
2024-04-28 20:06:40 +01:00
Yixun Lan
1016faea53
misc: fix autocompletions for meson (hyprctl/hyprpm)
...
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-04-19 21:09:10 +03:00
d1c2d524a0
misc: fix autocompletions for meson (hyprctl/hyprpm)
...
Signed-off-by: Florian sp1rit <sp1rit@disroot.org>
2024-04-15 16:02:22 +01:00
ErrorNoInternet
c7b87e0aed
hyprctl: fix fish completions
2024-04-09 12:38:06 +03:00
postsolar
d0d1ba5918
hyprctl: fix zsh completions
...
The file missed a line required by all ZSH completions in order to be automatically loaded
2024-04-09 07:08:54 +03:00
SoSeDiK
43b96f03b5
props: Allow setting per-window fullscreen opacity ( #5470 )
2024-04-07 23:19:02 +01:00
LOSEARDES77
20899d0df2
hyprpm: add shell completions ( #5423 )
...
* hyprpm: add completions
* hyprctl: correct spell mistakes
* Apply fixes
* makefile: correct shell completion paths
* makefile: remove complletions on uninstalling
2024-04-07 19:39:46 +03:00
81766647f2
hyprctl: fix grammar mistakes in completions
2024-04-04 10:49:25 +03:00
LOSEARDES77
1b43cd5231
hyprctl: Add shell completions ( #5404 )
2024-04-04 10:21:20 +03:00
Micovec
949eb42613
hyprctl: improve help pages ( #5385 )
2024-04-03 23:41:10 +03:00
Khalid
9b7ae25ae8
hyprctl: output json with --batch
if requested ( #5277 )
2024-03-26 13:38:54 +00:00
Andrey Donets
997ee82bdf
hyprctl: add missing commands to usage ( #5211 )
2024-03-21 14:57:06 +00:00
717d5b3cc2
hyprctl: hide unmapped windows without -a
2024-03-08 17:47:12 +00:00
ItsDrike
be89d6faa9
notifs: Implement notification dimissing ( #4790 )
2024-03-02 18:12:31 +00:00