Commit graph

354 commits

Author SHA1 Message Date
vaxerski
f002bd1603 wrap lastwindow in quotes in hyprctl json 2022-09-05 23:07:56 +02:00
vaxerski
2ba7cb2414 escape json strings in workspaces lastwindow title 2022-09-05 21:32:37 +02:00
vaxerski
f6ecef0959 add lastwindow info to hyprctl workspaces 2022-09-04 18:32:03 +02:00
vaxerski
d413388761 Multiple improvements to the shutdown procedure 2022-08-28 11:19:08 +02:00
vaxerski
dbd774fedb simplify a bit of code 2022-08-26 18:02:10 +02:00
vaxerski
359df96d53 fix wlr logging 2022-08-22 18:58:29 +02:00
vaxerski
63493b5736 use a custom logging func for wlr 2022-08-22 18:50:38 +02:00
vaxerski
7af193d921 reload on input and device hyprctl 2022-08-20 18:57:30 +02:00
9b62328b22 minor changes to the activelayout event 2022-08-18 17:50:32 +02:00
c1a64a2b9d added main param to keyboards 2022-08-18 17:34:01 +02:00
ea45c6bfe0 fix memory issue with hyprctl devices 2022-08-16 16:15:43 +02:00
6e2467cc24 fix active keymap in hyprctl devices 2022-08-16 16:10:20 +02:00
f0fe0c25d6 added config-only to hyprctl reload 2022-08-14 23:26:18 +02:00
b3c5809986 fix flags syntax in json 2022-08-11 21:29:31 +02:00
ae175fdda5 handle json for hyprctl version 2022-08-11 21:28:37 +02:00
9102471610 added hyprctl getoption 2022-08-11 21:16:38 +02:00
073f08301a fix formatting in focused monitor hyprctl 2022-08-11 20:22:41 +02:00
cd75606f42 change active to focused in hyprctl monitors 2022-08-10 23:49:20 +02:00
9b39a0c2e0 Added hyprctl setcursor 2022-08-10 21:22:11 +02:00
Yavor Kolev
af9d34ab77
Fix my idiotic mistake (#502)
When resolving conflicts i accepted the old changes 👨🏻🔫
2022-08-09 02:22:55 +03:00
Yavor Kolev
6d788f0fc9
Merge branch 'main' into fix-active-window-json-bools 2022-08-08 13:51:08 -07:00
ab6a62f0fd Revert "Merge pull request #499 from yavko/fix-active-window-json-bools"
This reverts commit 5aed6f1bc7, reversing
changes made to 6f137938da.
2022-08-08 22:49:02 +02:00
Yavor Kolev
d460519c30
Fix the fix 2022-08-08 13:48:33 -07:00
Yavor Kolev
5cec6257e9
The fix 2022-08-08 13:39:02 -07:00
Scott Barron
5ce7c71cef use empty json object when no activewindow 2022-08-06 15:36:28 -04:00
Scott Barron
206b7f4372 output valid json when there are no clients 2022-08-05 18:53:19 -04:00
yavko
59088decd0
Change to json bools 2022-08-05 15:23:38 -07:00
Yavor Kolev
9f11765707
Change monitor active to json bool 2022-08-04 16:25:56 -07:00
vaxerski
5dcbce550f only ensure DPMS in hyprctl monitors 2022-08-03 21:19:12 +02:00
vaxerski
36e563c79c reload monitors instantly on tickHyprCtl 2022-08-03 17:12:38 +02:00
vaxerski
edac94bed1 tick hyprctl separately 2022-07-31 00:27:32 +02:00
vaxerski
31a079b347 added DPMS 2022-07-27 12:32:00 +02:00
vaxerski
71c1ff8ee3 log xwayland in hyprctl 2022-07-26 18:25:08 +02:00
vaxerski
b0d91cbf3a simplify formats 2022-07-25 22:40:34 +02:00
vaxerski
1626707b7f make layerSurfaces into RAII 2022-07-23 15:48:08 +02:00
Vaxry
f35d513bf5
Merge pull request #391 from dgerblick/focuswindow-options
focuswindow options + other hyprctl bugs I found when testing
2022-07-18 23:19:12 +02:00
Daniel Gerblick
f2c0e6ef02 fixed issue causing hyprctl to output ill-formed json when strings include characters needing escaping 2022-07-18 14:47:28 -04:00
vaxerski
60cc33a53c added time logging 2022-07-18 11:46:42 +02:00
Daniel Gerblick
dc1f34c5fa added PID and address-based options for focuswindow, as well as updated hyprctl clients to be consistent with logs and hyprctl activewindow 2022-07-17 19:00:12 -04:00
vaxerski
1848086abd reload layout on hyprctl layout 2022-07-16 22:44:29 +02:00
vaxerski
65e75c0b44 fix backwards hyprctl compat 2022-07-14 11:43:15 +02:00
Vaxry
6708f3b133
Fixed TTY switching (#364) 2022-07-13 18:18:23 +02:00
vaxerski
ef7ee2fd0f added active keymap prop 2022-07-13 16:02:14 +02:00
vaxerski
0a16513946 fix warning 2022-07-13 15:48:47 +02:00
bazuin-32
ab859ec9fc Fix issues with batch requests 2022-07-12 16:34:28 -06:00
bazuin-32
ac9ff795cd Fix calls to substr with invalid pos 2022-07-12 15:38:50 -06:00
bazuin-32
2402f2e364 Use enum for specifying hyprctl output format and change the way flags
are passed for json output
2022-07-12 14:59:36 -06:00
bazuin-32
036f431206 Add hyprctl output in json when -j flag is used 2022-07-12 11:57:33 -06:00
vaxerski
29e2bb27f6 added misc:no_vfr 2022-07-12 10:02:12 +02:00
vaxerski
bf8bd87d11 added active monitor to hyprctl monitors 2022-07-12 00:16:28 +02:00
vaxerski
c0c75db621 roll VFR for everyone 2022-07-11 23:56:24 +02:00
vaxerski
4b334594dc Added splashes 2022-07-10 15:41:26 +02:00
vaxerski
92e17f2925 added rules to hyprctl devices and fixed rules 2022-07-08 12:27:05 +02:00
vaxerski
6a16f11d63 add namespace to hyprctl layers 2022-07-06 21:57:35 +02:00
vaxerski
a545992891 fixed hyprctl layers crash 2022-07-06 21:57:15 +02:00
vaxerski
f9756d10d4 changed C++ std to C++23, use std::string::contains 2022-07-06 16:50:11 +02:00
vaxerski
e0bfec6ef2 added experimental:vfr 2022-07-04 17:47:31 +02:00
vaxerski
868e0f48d0 added debug:disable_logs 2022-07-01 15:57:56 +02:00
vaxerski
328b3fa4bc mordernize pointers 2022-06-30 15:44:26 +02:00
vaxerski
ae3ff6736e hyprctl monitors changes 2022-06-29 23:33:51 +02:00
vaxerski
781526dac5 added hyprctl kill 2022-06-27 13:42:20 +02:00
vaxerski
b9a5fc0d2f added pid and title info to hyprctl 2022-06-27 13:17:11 +02:00
vaxerski
316b49eee2 added log level info 2022-06-25 20:50:29 +02:00
Florian "sp1rit"​
7c3626f15e
meson: ensure non-debug builds will use proper configuration
meson will set add -DHYPRLAND_DEBUG to CXXFLAGS during compilation of
debug builds. this avoids NDEBUG issues with wlroots and ensures asserts
will also work on release builds.
2022-06-18 13:09:38 +02:00
vaxerski
b53c093b88 log tablets in hyprctl 2022-06-09 19:25:26 +02:00
vaxerski
066ea296ff dont report unmanaged x11 windows in hyprctl clients 2022-06-06 15:22:25 +02:00
vaxerski
63d6c594b9 fix possible crash in hyprctl clients 2022-06-06 12:58:39 +02:00
vaxerski
2cd2f8b5b5 add class to window hyprctl requests 2022-06-04 20:32:27 +02:00
vaxerski
9486a230c7 Log to the instance folder 2022-06-03 17:48:07 +02:00
vaxerski
6f3b004199 IPC and log changes, introduce signature 2022-06-03 17:41:57 +02:00
vaxerski
7afcf656bd Added hyprctl devices 2022-06-02 13:59:33 +02:00
vaxerski
0d7131d30e fix typo in hyprctl clients and activewindow 2022-05-31 16:52:28 +02:00
vaxerski
eee9698ec9 move workspaces and not windows on mon disconnect 2022-05-30 20:44:14 +02:00
vaxerski
7d442d4851 Added rendertime no overlay 2022-05-28 17:40:57 +02:00
vaxerski
8c10857f14 Added a debug overlay 2022-05-28 17:32:19 +02:00
vaxerski
ba7e3cd9a1 Major IPC Rework + Added Socket2
IPC is now done with UNIX sockets instead of TCP ones (security!), and added Socket2, see Wiki.
2022-05-24 19:42:43 +02:00
vaxerski
d8d8a29fc2 fix memory issues with logs 2022-05-24 17:20:40 +02:00
vaxerski
39dcfa61c3 Added hyprctl reload 2022-05-08 15:28:45 +02:00
vaxerski
31a429899b added hyprctl batch 2022-04-29 19:44:09 +02:00
vaxerski
0147975faf New animation system 2022-04-23 14:16:02 +02:00
vaxerski
fa38dfd416 Added git dirty 2022-04-22 18:33:30 +02:00
vaxerski
d7b3145b2e Added git commit message to hyprctl version 2022-04-22 18:29:32 +02:00
vaxerski
e3b19e0131 Added hyprctl version 2022-04-22 18:14:25 +02:00
vaxerski
15eb844260 reload keyboards if input changed in hyprctl 2022-04-22 14:11:52 +02:00
vaxerski
883d389bc2 Make hyprctl thread safe 2022-04-21 22:00:03 +02:00
vaxerski
304b93a4f6 Minor tweaks 2022-04-21 21:48:37 +02:00
vaxerski
5f3ee176a1 only reload monitors when needed with hyprctl 2022-04-21 21:36:45 +02:00
vaxerski
727851d6e2 Added workspace names in hyprctl 2022-04-21 21:25:28 +02:00
vaxerski
7c36dd6e6c set wantsmonitorreload for parsekeyword 2022-04-21 17:36:28 +02:00
vaxerski
07080498fd Added hyprctl keyword 2022-04-21 16:56:27 +02:00
vaxerski
c02afa0c27 Added hyprctl dispatch 2022-04-21 16:11:29 +02:00
vaxerski
a8e8729230 Added zext_workspace protocol support 🎉 2022-04-11 19:51:37 +02:00
vaxerski
374491ee63 progress 2022-04-04 19:44:25 +02:00
vaxerski
223beb8a82 Multiple focus handling changes 2022-04-02 18:57:09 +02:00
vaxerski
3e614f2c1e Draw the drag icon 2022-03-31 17:25:23 +02:00
vaxerski
d01c7c07d8 Fix IPC being wonky 2022-03-30 16:24:42 +02:00
vaxerski
a4f79dcb11 fix hyprctl .socket 2022-03-24 18:25:18 +01:00
vaxerski
e6fcbf576c up the max hyprctl port 2022-03-22 22:02:43 +01:00
vaxerski
8a8b26a635 added 2 more hyprctl commands 2022-03-22 16:54:45 +01:00
vaxerski
1b50377a5a R> is redundant 2022-03-21 18:34:49 +01:00
vaxerski
509f0c9a8a IPC is now a socket 2022-03-21 18:29:41 +01:00
vaxerski
c32917a5ba added hyprctl 2022-03-20 16:51:14 +01:00
vaxerski
cf51ab71a2 input basics 2022-03-17 16:19:10 +01:00
vaxerski
de4c836e97 Initial Commit 2022-03-16 20:50:55 +01:00