summaryrefslogtreecommitdiff
path: root/hyprctl
Commit message (Collapse)AuthorAgeFilesLines
* Add `activeworkspace` hyprctl command (#2202)Yavor Kolev2023-05-021-1/+6
| | | | | | | | | | | * Add `activeworkspace` hyprctl command * fix format in hyprctl * Make stuff more shared in workspace hyprctl --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* Unbreak CMake build on FreeBSD (#2209)Jan Beich2023-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmake: unbreak on non-GNU after 474ada9267cc CMake Error at CMakeLists.txt:121 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "Hyprland". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * CMakeLists.txt:107 (target_link_libraries) Fixes https://github.com/hyprwm/Hyprland/issues/1780 * cmake: always link with dependencies via imported targets On BSD systems base compiler by default only looks for headers and libraries from base system. For dependencies from packages extra flags are necessary. ld: error: unable to find library -lxcb ld: error: unable to find library -lpixman-1 ld: error: unable to find library -lOpenGL ld: error: unable to find library -lGLESv2 * make: use same make in recursive calls On BSDs `make` is BSD make while `gmake` is GNU make * make: work around GNU vs. BSD sed -i incompatibility https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254091 * make: replace GNU make extension with POSIX sh `$(shell ...)` in GNU make is similar to `${:!..!}` in BSD make * make: fall back when nproc isn't available Only FreeBSD added nproc for compatibility with Linux. * make: unbreak hyprctl on Clang-based systems /bin/sh: g++: not found error: invalid value 'c++23' in '-std=c++23' * make: create lib/ before copying libwlroots.so there $ make install PREFIX=/tmp/test [...] cp: directory /tmp/test/lib does not exist * make: pass cp(1) flags before arguments cp: -f is not a directory * make: replace install -Dt with mkdir install: illegal option -- t * make: replace cp --parents with cpio -dump cp: illegal option -- - * make: limit pkg-config workaround to Linux when run as root /usr/share/pkgconfig doesn't exist on BSDs or may not be writable.
* internal: unhardcode sun_path size after a6cfe7042897 (#2137)Jan Beich2023-04-231-2/+2
| | | | | | | | | | | hyprctl/main.cpp:83:5: warning: 'strncpy' size argument is too large; destination buffer has size 104, but size argument is 107 [-Wfortify-source] strncpy(serverAddress.sun_path, socketPath.c_str(), 107); ^ hyprctl/main.cpp:146:5: warning: 'strncpy' size argument is too large; destination buffer has size 104, but size argument is 107 [-Wfortify-source] strncpy(serverAddress.sun_path, socketPath.c_str(), 107); ^ src/managers/EventManager.cpp:70:9: warning: 'strncpy' size argument is too large; destination buffer has size 104, but size argument is 107 [-Wfortify-source] strncpy(SERVERADDRESS.sun_path, socketPath.c_str(), 107); ^
* hyprctl: allow spaces in cursor themesvaxerski2023-04-201-1/+4
|
* internal: avoid buffer overflows with socket pathsvaxerski2023-04-171-2/+2
|
* GlobalShortcuts protocol impl (#1886)Vaxry2023-04-091-0/+3
| | | | | | | Implements the `hyprland-global-shortcuts-v1` protocol --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* hyprctl: add notifyvaxerski2023-03-201-0/+3
|
* Plugin System (#1590)Vaxry2023-02-271-0/+3
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* fix(hyprctl): allow dispatcher to have no args (#1464)ozwaldorf2023-02-011-1/+1
| | | | | * fix(hyprctl): allow dispatch to have no args * chore: add .idea/ to gitignore
* Add hyprctl animationsvaxerski2023-01-251-0/+2
|
* add hyprctl setpropvaxerski2023-01-241-40/+44
|
* added hyprctl seterrorvaxerski2023-01-221-41/+43
|
* added hyprctl bindsvaxerski2023-01-061-1/+4
|
* touch up the clang format and format all filesvaxerski2022-12-201-32/+51
|
* added hyprctl switchxkblayoutvaxerski2022-12-031-1/+10
|
* guard empty str in isNumbervaxerski2022-11-111-0/+2
|
* Allow arguments to hyprctl dispatch exec commands. (#990)Philip Jones2022-11-101-2/+11
|
* Added creating / destroying outputs on a multi-backend + headless backendvaxerski2022-11-051-0/+16
| | | | See `hyprctl output`.
* Improve hyprctlRiley Martin2022-10-271-17/+27
| | | | | | | Added better help for some hyprctl commands. Failed commands should now 'fail' by returning a nonzero status to the shell Fix typos
* Added hyprctl cursorposvaxerski2022-10-261-0/+2
|
* unrestrict hyprctl message sizevaxerski2022-10-261-1/+13
|
* Remove trailing whitespace.Felix Dick2022-09-251-3/+3
|
* fix up keyword to accept spaced argsvaxerski2022-08-221-1/+4
|
* fix up hyprctl dispatchvaxerski2022-08-221-1/+4
|
* dropped deprecated gethostbyname checkFlorian sp1rit​2022-08-221-6/+0
| | | | | | | | Done to avoid the rpmlint warning: hyprland.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/hyprctl The binary calls gethostbyname. Please port the code to use getaddrinfo. Signed-off-by: Florian "sp1rit"​ <sp1ritCS@protonmail.com>
* added hyprctl getoptionvaxerski2022-08-111-0/+2
|
* Added hyprctl setcursorvaxerski2022-08-101-0/+13
|
* Fix hyprctl flags helpRoger Roger2022-07-281-1/+2
|
* remove server from hyprctl as it's unusedvaxerski2022-07-211-7/+0
|
* fix oopsie includevaxerski2022-07-191-0/+1
|
* fix oopsie includevaxerski2022-07-191-0/+1
|
* fix hyprctl with relative negativevaxerski2022-07-191-1/+5
|
* Merge pull request #376 from dgerblick/hyprctl-json-segfault-fixVaxry2022-07-151-0/+5
|\ | | | | Fixed SEGFAULT when running hyprctl with only the -j option
| * Fixed SEGFAULT when running hyprctl with only the -j optionDaniel Gerblick2022-07-151-0/+5
| |
* | fix dashes in hyprctlvaxerski2022-07-151-1/+1
|/
* fixed up hyprctl flagsvaxerski2022-07-151-6/+32
|
* Fix error when running `hyprctl dispatch exec` with an arg that containsbazuin-322022-07-141-1/+1
| | | | a `/`
* better doc in helpvaxerski2022-07-131-2/+2
|
* flag posvaxerski2022-07-131-1/+1
|
* Fix issues with batch requestsbazuin-322022-07-121-6/+10
|
* update hyprctl helpvaxerski2022-07-121-2/+7
|
* code stylingvaxerski2022-07-121-23/+21
|
* Use enum for specifying hyprctl output format and change the way flagsbazuin-322022-07-122-24/+25
| | | | are passed for json output
* Add hyprctl output in json when `-j` flag is usedbazuin-322022-07-121-10/+17
|
* Added splashesvaxerski2022-07-101-0/+2
|
* hyprctl: added support for hyprpapervaxerski2022-07-021-1/+72
|
* added hyprctl killvaxerski2022-06-271-0/+2
|
* Merge pull request #205 from sp1ritCS/mesonvaxerski2022-06-201-0/+3
|\ | | | | Added meson buildfiles
| * Added meson buildfilesFlorian "sp1rit"​2022-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | this makes for a far better experience in combination with wlroots, since that whole makefile mess is not required. Additionaly, handling of wayland protocol sources is also slightly better, but could be improved with mesons inbuilt wayland module. To build Hyprland using meson: meson _build -Ddefault_library=static ninja -C _build ninja -C _build install
* | Update main.cppalba4k2022-06-171-2/+2
| |