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
Sergei Trofimovich
f534ac3fc4
hyprctl: add missing newline in error case of missing 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?)
$
2024-02-24 23:35:36 +00:00
9103af317e
hyprctl: ignore non-lock files for instances
2024-02-24 23:35:18 +00:00
5824b0f305
hyprctl: fix showing invalid instances
2024-02-24 17:36:43 +00:00
6f83856025
hyprctl: add -r argument
2024-02-24 14:02:03 +00:00
c6b1d82c70
hyprctl: more safety around stoull
2024-02-18 23:31:43 +00:00
Alessio Molinari
cca3c64301
hyprctl: remove hardcoded hyprctl commands. ( #4671 )
...
* fix: remove hardcoded hyprctl commands.
This allows plugin to properly register hyprctl commands.
* fix: restore commands with min args
2024-02-12 10:34:21 +00:00
069880e374
hyprctl: add systeminfo
2024-01-01 17:53:03 +01:00
MightyPlaza
5f65946c84
hyprctl: add decorations ( #4275 )
...
* 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
2023-12-28 16:38:16 +01:00
288f1863f0
hyprctl: allow instances without HIS
2023-12-08 15:40:01 +00:00
Tungsten842
8bd86cf37e
hyprctl: order commands alphabetically ( #4061 )
2023-12-05 23:39:57 +00:00
Ngô Huy
d417370bb7
makefile: Add CXXFLAGS to hyprlctl's Makefile ( #3913 )
2023-11-22 11:02:36 +00:00
zakk4223
4729265284
hyprctl: Add 'layouts' command ( #3895 )
...
* Add hyprctl 'layouts' command
formatting
* Add getAllLayoutNames(), move m_vLayouts back to private
Formatting
* clang-format
2023-11-21 18:43:38 +00:00
e195e51c1b
logging: move to an internal rolling log buffer
...
disables logging to the logfile by default
2023-11-14 20:06:04 +00:00
Greatly Pleased
1e6e9b66a5
hyprctl: Fix build warnings ( #3821 )
2023-11-10 21:45:20 +00:00