Commit graph

592 commits

Author SHA1 Message Date
vaxerski
2e7586e841 fix up config and includes 2022-05-31 10:43:41 +02:00
vaxerski
c9041bf5c9 notify workspace protocol of workspace group change 2022-05-30 20:51:45 +02:00
vaxerski
b2474d406a don't duplicate workspaces on connect 2022-05-30 20:45:39 +02:00
vaxerski
eee9698ec9 move workspaces and not windows on mon disconnect 2022-05-30 20:44:14 +02:00
vaxerski
1f4c938c67 Added moving workspaces 2022-05-30 20:05:38 +02:00
vaxerski
c44c79abb2 fix monitor cleanups on removed 2022-05-30 17:11:35 +02:00
vaxerski
1e096f6fcd fix moveactivetoworkspace 2022-05-30 15:28:23 +02:00
vaxerski
b1c11f3d2e consider the full bb with deco in rendering 2022-05-30 14:55:42 +02:00
vaxerski
7167be9c48 Fix relative IDs in movetoworkspace crashing 2022-05-30 14:18:46 +02:00
vaxerski
e81790f357 massive oopsie in logs 2022-05-30 14:12:36 +02:00
vaxerski
edf57c50ff use exit in default config 2022-05-30 09:22:06 +02:00
vaxerski
7522ade58d don't set fullscreen to maximized apps 2022-05-30 09:18:05 +02:00
vaxerski
3d7abfea92 Log keybind dispatchers only 2022-05-30 09:16:00 +02:00
vaxerski
b76b32b458 don't add existing and invalid monitors 2022-05-29 20:15:34 +02:00
vaxerski
f5645805d8 Don't animate out if window wasnt animated in 2022-05-29 16:01:45 +02:00
vaxerski
9842730f57 Added fullscreen types, maximize and full 2022-05-29 15:44:30 +02:00
vaxerski
d0ff0c0990 Added basic monitor transforms, has bugs
blur doesnt work on transformed outputs
full damage tracking issues
2022-05-29 12:27:45 +02:00
vaxerski
fdb3f610e5 Added wlr_foreign_toplevel_v1 2022-05-29 11:24:42 +02:00
vaxerski
f06d4fca27 Fix one more SIGSEGV while exiting 2022-05-29 00:07:31 +02:00
vaxerski
65610555c4 gfd i committed gmon 2022-05-29 00:03:42 +02:00
vaxerski
3f8845a6a7 Added an exit dispatcher and no more SIGSEGV on exit 2022-05-29 00:00:47 +02:00
vaxerski
894ae2d742 Use C++-styled pointers for decorations 2022-05-28 23:43:11 +02:00
vaxerski
08e0567d3a fix typo in GDK offset adjustments 2022-05-28 20:54:15 +02:00
vaxerski
685cf1e00d remove unused PMONITOR var 2022-05-28 20:50:50 +02:00
vaxerski
bdf1c16195 Added IHyprWindowDecoration and Group Bars 2022-05-28 20:46:20 +02:00
vaxerski
b1b24cb21a Added changegroupactive direction 2022-05-28 19:16:20 +02:00
vaxerski
9ede0f1c7d Added blur_ignore_opacity 2022-05-28 18:57:32 +02:00
vaxerski
10a9325a6a Fix buggy slide out on multimon 2022-05-28 18:52:22 +02:00
vaxerski
e4d494aed4 fix focusmonitor with named workspaces 2022-05-28 18:38:49 +02:00
vaxerski
5c911df351 Fix closing anims on multimon 2022-05-28 18:33:47 +02:00
vaxerski
15553804d6 Added closing animations (reverse of open) 2022-05-28 18:28:55 +02:00
vaxerski
7f1f14fe85 Added a rounding rule 2022-05-28 17:48:01 +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
9b6960eb55 fix calculating stupid gdk surface offsets 2022-05-27 21:10:51 +02:00
vaxerski
daff7d8ca2 use xdg-shell v3 2022-05-27 16:05:25 +02:00
vaxerski
1bef63a1e6 fix for latest wlroots 2022-05-27 16:03:24 +02:00
vaxerski
d8c5e53c08 Fix dynamic monitor offset changes 2022-05-27 10:27:06 +02:00
vaxerski
8145c552de post empty activewindow event on unfocus 2022-05-26 21:34:52 +02:00
vaxerski
19a168792b activewindow class and title 2022-05-26 21:24:52 +02:00
vaxerski
8a3ea54184 Update border colors on config reload 2022-05-26 21:23:13 +02:00
vaxerski
795504dad0 Added workspaceopt dispatcher 2022-05-26 19:05:32 +02:00
vaxerski
74990e1e58 fix for latest wlroots 2022-05-25 23:29:36 +02:00
vaxerski
2c907e0540 include egl in includes.hpp 2022-05-25 23:13:13 +02:00
vaxerski
9597ffdd32 fix missing region32 copy in renderer 2022-05-25 19:19:54 +02:00
vaxerski
d09034ee2a Added a fullscreen event 2022-05-25 18:42:38 +02:00
vaxerski
08d4d987cf return nearest mon if point out of range 2022-05-25 18:40:03 +02:00
vaxerski
5635c6385f Invalidate layout on dynamic request to config 2022-05-25 17:42:38 +02:00
vaxerski
c8f0a74975 update activewindow on its title change 2022-05-25 17:29:44 +02:00
vaxerski
b2769bab68 use mutexes in eventmanager like a normal human 2022-05-25 17:26:26 +02:00
vaxerski
0ae6563fef workspace set active 2022-05-25 10:25:36 +02:00
vaxerski
c8425926c9 fix default workspaces being unnamed 2022-05-24 22:30:36 +02:00
vaxerski
0ad33742e1 fix workspace event and add activewindow and activemon 2022-05-24 22:21:31 +02:00
vaxerski
ad7e66adaa stick a newline at the end of socket2 events 2022-05-24 19:47:13 +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
f522c597ef Fix fullscreen focus detection and configure requests 2022-05-23 22:07:29 +02:00
vaxerski
e924cd95fd Added movecursortocorner 2022-05-22 11:52:39 +02:00
vaxerski
9af95492f8 clamp surface sizes 2022-05-22 11:42:18 +02:00
vaxerski
ef4ab2edd4 fix dwindle leaving artifacts on toggle pseudo 2022-05-21 21:20:56 +02:00
vaxerski
5f620ee7ca fix fullscreen request loops 2022-05-20 15:02:51 +02:00
vaxerski
2511d8981a fix a lil oopsie 2022-05-19 20:49:37 +02:00
vaxerski
464c4aa395 fixed borders on no blur 2022-05-19 20:16:08 +02:00
vaxerski
146b189d54 disallow running with sudo
unless you use the --i-am-really-stupid flag
2022-05-19 19:28:15 +02:00
vaxerski
36be9c4a11 warp to middle on remove constraint 2022-05-19 15:29:26 +02:00
vaxerski
e225d949e7 And now fix the placeholder 2022-05-18 20:35:24 +02:00
vaxerski
198fc90df5 What the fuck is going on with git, fix the entire scaling merge
This reverts commit 5b15d3b4f4.
2022-05-18 20:33:54 +02:00
vaxerski
5454cf8e89 Fixed mouse constraints, should be correct now 2022-05-18 14:57:08 +02:00
vaxerski
5b15d3b4f4 Revert "Merge pull request #88 from vaxerski/scaling"
This reverts commit f68ddc382a, reversing
changes made to ba573a529a.
2022-05-18 14:42:00 +02:00
vaxerski
6c437763f6
Merge branch 'main' into scaling 2022-05-18 13:10:22 +02:00
vaxerski
c2922b6b09 fix surface effective damage scale 2022-05-18 13:08:49 +02:00
vaxerski
ba573a529a fix workspaces disappearing on switch anim mode 2022-05-18 12:39:20 +02:00
vaxerski
fcd56a3701 fix some border damage geometry issues 2022-05-18 12:27:43 +02:00
vaxerski
f70d0ec5aa Added movetoworkspacesilent 2022-05-18 12:18:58 +02:00
vaxerski
5fa4b9a777 fix border geometry 2022-05-17 19:31:42 +02:00
vaxerski
473d4591b0 fix some memory issues 2022-05-17 18:37:14 +02:00
vaxerski
df2215cef7 fix fade blur 2022-05-17 13:26:14 +02:00
vaxerski
cc84b0ce50 fix workspace fade damage 2022-05-17 13:24:23 +02:00
vaxerski
cad71218c0 borders are now gangsta 2022-05-17 13:16:37 +02:00
Four_Griffins
3fd2ef2107 added opacity setting for fullscreen windows 2022-05-16 23:52:48 +02:00
vaxerski
f09de365d5 Added workspace fade transition 2022-05-16 23:13:32 +02:00
vaxerski
244be92d11 fix fadeout 2022-05-16 22:25:05 +02:00
vaxerski
0503835ee6 fixed blur and shit 2022-05-16 21:30:11 +02:00
vaxerski
bf8ebfc631 added scaling (dt broken)
damage tracking on full is broken
2022-05-16 20:45:27 +02:00
vaxerski
50f978e518 Added togglesplit dispatcher 2022-05-16 17:37:46 +02:00
vaxerski
e90c1f7022 added dwindle:preserve_split 2022-05-16 17:27:55 +02:00
vaxerski
e991550abe Added source= 2022-05-16 10:09:20 +02:00
vaxerski
26cd7d73e5 Added user-defined vars in config 2022-05-16 09:38:42 +02:00
vaxerski
96cdf8fd5e fix for wlroots-git update 2022-05-15 18:41:02 +02:00
vaxerski
d7ad80e6a2 Added window animation rules 2022-05-15 14:18:31 +02:00
vaxerski
cba4693d39 Fix certain layersurfaces crashing 2022-05-15 11:25:42 +02:00
vaxerski
deb18af955 Protect against crash in focusWindow 2022-05-14 20:56:21 +02:00
vaxerski
e8a432e979 oops forgot about this 2022-05-14 20:12:29 +02:00
vaxerski
f7214114d4 adjust blur radius 2022-05-14 20:11:34 +02:00
vaxerski
f0d52d8a88 log layersurface cleanup 2022-05-14 17:28:55 +02:00
vaxerski
6db68917ab rename cleanupWindows to cleanupFadingOut 2022-05-14 17:26:34 +02:00
vaxerski
109136af97 Fadein/out now applies to layersurfaces too 2022-05-14 17:23:46 +02:00
vaxerski
694f4433a2 Added animation style and style slide 2022-05-14 16:43:30 +02:00
vaxerski
8f0aa6c941 Use new keyword in the config 2022-05-14 16:01:37 +02:00
vaxerski
cafd7a7a62 Added an animation= keyword 2022-05-14 15:56:01 +02:00
vaxerski
a1567feb3d Added nofocus rule 2022-05-14 14:37:57 +02:00
vaxerski
0273d21a77 fix incorrect mem use after delete 2022-05-14 11:10:50 +02:00
vaxerski
bef4d7c9b7 Improve bezier baking & approx 2022-05-12 16:59:51 +02:00
vaxerski
1d21e5303b minor constraint fixes 2022-05-12 16:07:14 +02:00
vaxerski
d4d72ae54d Workspaceanim: respect stack order 2022-05-12 13:03:02 +02:00
vaxerski
15f7886777 hyprerror fixes 2022-05-12 12:46:38 +02:00
vaxerski
2a368ef994 Add invalid mod warn 2022-05-12 12:41:28 +02:00
vaxerski
0de058beb1
Merge pull request #69 from mdartmann/fix-underflow-remove-begin-end-spaces-tabs
Fix string underflow in `removeBeginEndSpacesTabs()`
2022-05-12 12:20:40 +02:00
vaxerski
d438bd970a Added virtual pointer protocol 2022-05-12 12:13:02 +02:00
Mae Dartmann
a6caac2b61
Fix string underflow in removeBeginEndSpacesTabs()
Signed-off-by: Mae Dartmann <hello@maedartmann.name>

 Changes to be committed:
	modified:   src/helpers/MiscFunctions.cpp
2022-05-12 12:08:18 +02:00
vaxerski
b7241bceef fix and update the default and autogen cfg 2022-05-12 11:34:39 +02:00
vaxerski
ff0f535c28 Added workspace animations 2022-05-12 11:27:31 +02:00
vaxerski
07e208aa73 unminimize on activate 2022-05-11 15:03:31 +02:00
vaxerski
96819c8ab9 Fix GDK window extents mouse offset
kind of...? Should work more or less
2022-05-10 11:01:03 +02:00
vaxerski
ddab8e60dc optimized texture rendering 2022-05-10 09:56:58 +02:00
vaxerski
9a699ab153 fix yesterday's commit 2022-05-10 09:19:54 +02:00
vaxerski
ef21baaf88 Optimize blur massively and some fixes 2022-05-09 21:37:41 +02:00
vaxerski
434184aa32 Added dwindle:force_split 2022-05-08 15:36:17 +02:00
vaxerski
39dcfa61c3 Added hyprctl reload 2022-05-08 15:28:45 +02:00
vaxerski
aa5b0d2cda add natural scroll opt 2022-05-06 19:34:48 +02:00
vaxerski
034192650f respect outputMgrApplyTest 2022-05-06 17:18:24 +02:00
vaxerski
ff86f723b2 Fix blur leaving strokes on full damage tracking 2022-05-06 16:06:21 +02:00
vaxerski
b67eae7228 fix kb stuff 2022-05-06 14:30:35 +02:00
vaxerski
9ddfe0b4ae take rounding into account in border damage 2022-05-05 15:19:50 +02:00
vaxerski
359bb2bdda dont change size if partial damage 2022-05-05 15:16:10 +02:00
vaxerski
8fb3ad8bf1 log damage debug opt 2022-05-05 15:09:26 +02:00
vaxerski
77d37cd72a optimization: dont damage entire window on border anim 2022-05-05 14:02:30 +02:00
vaxerski
8369f2980a crucial fixes to full damage tracking 🎉
should now be mostly usable
2022-05-05 13:48:22 +02:00
vaxerski
500cbd135f moveactive monitor 2022-05-05 13:02:55 +02:00
vaxerski
8bb908a8da Added focusmonitor 2022-05-05 12:50:25 +02:00
vaxerski
c7fd3d46fd damage mon on arrange 2022-05-04 15:23:30 +02:00
vaxerski
8e1abb6540 render border with damage 2022-05-04 15:16:50 +02:00
vaxerski
908901fbda Fix opening floating on another mon 2022-05-04 15:16:36 +02:00
vaxerski
6bfe9162e1 Reject blur rendering on empty damage 2022-05-02 23:03:22 +02:00
vaxerski
42c77b01ed fix kawase oopsie 2022-05-02 17:02:00 +02:00
vaxerski
43fc7662cc Major blur rework: optimization & fixes
Blur should be considerably faster now and work on full damage tracking
2022-05-02 16:54:40 +02:00
vaxerski
31a429899b added hyprctl batch 2022-04-29 19:44:09 +02:00
vaxerski
726ba65785 enter all outputs in wlr/workspaces 2022-04-28 18:06:25 +02:00
vaxerski
4b985d3e38 fix crash when yanking mouse before init 2022-04-28 17:57:24 +02:00
vaxerski
51172129d7 deactivate exclusive 2022-04-28 17:55:25 +02:00
vaxerski
17bd1779ea fix fadeout 2022-04-28 15:39:49 +02:00
vaxerski
d284aaa2ca Added custom reserved area per mon 2022-04-27 17:46:07 +02:00
vaxerski
dddb00fbc8 Support the virtual keyboard protocol 2022-04-27 17:29:33 +02:00
vaxerski
3ea558f1ae fix some xwayland size bugs 2022-04-27 16:35:15 +02:00
vaxerski
d35019f185 fix rare crash 2022-04-26 17:51:00 +02:00
vaxerski
cabab409e6 fixed overlay layers being on bottom of fullscreen windows 2022-04-25 21:49:45 +02:00
vaxerski
9eae3b3c3b minor xwayland constraint fixes 2022-04-25 13:40:46 +02:00
vaxerski
68605c2ccf crash in assert on fail for a coredump 2022-04-24 22:05:07 +02:00
vaxerski
c35517d44e fixes for xwayland popups, autofloat pop-up and task_dialog 2022-04-24 17:53:50 +02:00
vaxerski
86bb95c125 some fixes for xwayland windows and focus 2022-04-24 17:42:59 +02:00
vaxerski
d798376330 assert -> rassert for animatedvariable 2022-04-24 17:01:39 +02:00
vaxerski
e5f8bca41c Switched old blur to dual kawase 2022-04-24 16:41:01 +02:00
vaxerski
3b3718df3d some fixes for full damage tracking 2022-04-24 12:04:16 +02:00
vaxerski
f04829a4b5 fix layer focus 2022-04-24 11:41:52 +02:00
vaxerski
1afc8329bc
Merge branch 'main' into animation-system-rework 2022-04-24 11:18:30 +02:00
vaxerski
fc14157d76 Fixed damaging multimon 2022-04-23 23:53:12 +02:00
vaxerski
ad2c72a797 Bake 200, more info 2022-04-23 23:16:43 +02:00
vaxerski
8f3b4aa89c oops, small fix 2022-04-23 22:11:32 +02:00
vaxerski
6d8016185a default curve more close to parabolic 2022-04-23 21:54:03 +02:00
vaxerski
3ebe7d7972 Added bezier curves 2022-04-23 21:47:16 +02:00
vaxerski
306d163613 return const refs + vec constantize 2022-04-23 14:40:51 +02:00
vaxerski
77002eeea0 fix warn 2022-04-23 14:36:03 +02:00
vaxerski
f84294fe07 fixed fullscreen, removed effective vars from windows 2022-04-23 14:35:34 +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
94811485c9 added opacity rule 2022-04-22 14:37:38 +02:00
vaxerski
a8e5e9c558 Allow percentages in move and size rules 2022-04-22 14:31:14 +02:00
vaxerski
15eb844260 reload keyboards if input changed in hyprctl 2022-04-22 14:11:52 +02:00
vaxerski
091048412a Added warn for old monitor cfg 2022-04-21 22:15:42 +02:00
vaxerski
5b8cdc6c43 CONFIG COMPAT BREAK: removed mfact from mon cfg 2022-04-21 22:05:51 +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
c16ebec3b2 count down in named workspace IDs 2022-04-21 21:35:08 +02:00
vaxerski
727851d6e2 Added workspace names in hyprctl 2022-04-21 21:25:28 +02:00
vaxerski
5fa916e6f2 fix monitor reload crash 2022-04-21 18:11:28 +02:00
vaxerski
7c36dd6e6c set wantsmonitorreload for parsekeyword 2022-04-21 17:36:28 +02:00
vaxerski
4b1773d1b1 overwrite mon rule if exists 2022-04-21 17:33:24 +02:00
vaxerski
a0ec0326f9 typo 2022-04-21 17:21:55 +02:00
vaxerski
2b8b34d8db Added workspace windowrule 2022-04-21 17:17:47 +02:00
vaxerski
064e40d25f Added unbind keyword 2022-04-21 17:06:43 +02:00
vaxerski
07080498fd Added hyprctl keyword 2022-04-21 16:56:27 +02:00
vaxerski
b618fc1caa Added named workspaces 2022-04-21 16:38:48 +02:00
vaxerski
c02afa0c27 Added hyprctl dispatch 2022-04-21 16:11:29 +02:00
vaxerski
422eaad420 handle term and int signals and cleanup 2022-04-21 15:59:28 +02:00
vaxerski
66b5c5a143 static and functional dispatchers 2022-04-21 15:50:52 +02:00
vaxerski
ab2c65e535 Set last monitor when unset on monitor attach 2022-04-20 19:36:05 +02:00
vaxerski
87b8491294 Added the splitratio dispatcher 2022-04-20 16:53:41 +02:00
vaxerski
418e2d96ae Added the movewindow dispatcher 2022-04-20 16:18:58 +02:00
vaxerski
bebfe01d73 Added a custom NO_XWAYLAND flag 2022-04-20 15:58:02 +02:00
vaxerski
b8d88cff79
Merge pull request #47 from sixels/input_config
Add more input configurations
2022-04-19 19:33:13 +02:00
Sixels
b7bcd5cb8f Handle negative delay and rate 2022-04-19 14:14:46 -03:00
vaxerski
08ee14b4a0 Added dynamic monitor rules 2022-04-19 19:01:23 +02:00
Sixels
6719574f0c Add input options to config 2022-04-19 13:52:31 -03:00
Sixels
c0645c393b Set keyboard repeat rate and delay from config 2022-04-19 13:52:31 -03:00
Sixels
613093877a Set dwt for touchpad if available 2022-04-19 13:52:31 -03:00
Sixels
03624e2060 Handle subcategories 2022-04-19 13:52:31 -03:00
vaxerski
1eec8c3741 Sync to highest Hz monitor 2022-04-19 18:00:54 +02:00