Commit graph

474 commits

Author SHA1 Message Date
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
vaxerski
c7d02a38d9 fixed an oopsie 2022-04-18 18:33:50 +02:00
vaxerski
cbf0d366b4 fixed discardopaque with custom alpha 2022-04-18 18:23:10 +02:00
vaxerski
7ae87a233c Inhibit fixes 2022-04-18 17:16:01 +02:00
vaxerski
8e14f3a08d fix mouse glitches on clicks in constrained 2022-04-18 13:41:48 +02:00
vaxerski
80fc30d03e remove unused var 2022-04-18 13:35:35 +02:00
vaxerski
cec248d176 set default var if not present in config 2022-04-18 13:27:54 +02:00
vaxerski
24316f2e71 Fix trailing spaces in config 2022-04-18 13:25:27 +02:00
vaxerski
655c038417 added apply_sens_to_raw 2022-04-18 13:13:41 +02:00
vaxerski
30683d5c44 minor XWayland and rule fixes 2022-04-18 13:10:58 +02:00
vaxerski
8a8877e739 Added active/inactive opacity 2022-04-17 21:44:06 +02:00
vaxerski
7b1eaca840 Implemented mouse constraints
has some todos but mostly works
2022-04-17 21:40:04 +02:00
vaxerski
b0f5e4ab56 store scale and scale windows with monitor 2022-04-17 18:47:10 +02:00
vaxerski
748a787ba2 Don't blur behind opaque pixels 2022-04-17 13:15:56 +02:00
vaxerski
baa9e0caea
Merge branch 'main' into damage-tracking 2022-04-17 11:52:54 +02:00
vaxerski
a935e4f985 Disable damage tracking by default 2022-04-17 11:50:59 +02:00
vaxerski
24df15105e don't rearrange layersurfaces when not needed 2022-04-17 10:46:04 +02:00
vaxerski
4f83adcdb9 Allow monitor disabled too 2022-04-17 10:21:54 +02:00
vaxerski
4a966c945b Add monitor disabled option 2022-04-17 10:19:46 +02:00
vaxerski
2118628d58 include climits 2022-04-15 18:59:58 +02:00
vaxerski
7cd3e5f34a Added workspace dispatcher + and - 2022-04-14 23:02:10 +02:00
vaxerski
05d7afe2ec support linux_dmabuf_v1 2022-04-14 21:48:12 +02:00
vaxerski
e4d05c90ce fix pointer focus coords in focusWindow 2022-04-14 21:30:18 +02:00
vaxerski
c8721baa5a damage layersurfaces on commit 2022-04-14 20:22:14 +02:00
vaxerski
d1e5f87607 fix first workspace being 0 2022-04-14 20:11:46 +02:00
vaxerski
c2b8c27bc5 fix workspace switching with damage 2022-04-14 20:08:39 +02:00
vaxerski
ebfbd4f7c3 fix focus not applying sometimes to the active window 2022-04-14 18:16:09 +02:00
vaxerski
1789facddb fixed some nested render bugs 2022-04-14 17:45:18 +02:00
vaxerski
3e36f1c42c renderer fixes 2022-04-14 17:00:35 +02:00
vaxerski
75af34da96 added basic damage tracking 2022-04-14 16:43:29 +02:00
vaxerski
158af1eb09 better keyboard window switching 2022-04-13 20:45:06 +02:00
vaxerski
a558bcdfbf added follow_mouse 2022-04-13 20:19:40 +02:00
vaxerski
402c11d341 respect texture size and not mon size in BGTex 2022-04-13 18:49:15 +02:00
vaxerski
46a95afafd oops, fixed regular renderer 2022-04-13 17:51:18 +02:00
vaxerski
084e922642 Added legacy GLES2 renderer option 2022-04-13 17:34:13 +02:00
vaxerski
5d529d46e7 use output's modes instead of a custom mode 2022-04-13 17:11:37 +02:00
vaxerski
32597bd8cb dwindle: autodetect first/second node on open 2022-04-13 16:24:31 +02:00
vaxerski
6911ed3176 log more in begin() 2022-04-12 21:49:35 +02:00
vaxerski
429853346f set hidden and urgent flags for new workspaces 2022-04-12 21:00:46 +02:00
vaxerski
c68eaafd16 fix exec as well on startup 2022-04-12 20:23:10 +02:00
vaxerski
17f63bf3e8 Fix exec-once being wack on launch 2022-04-12 20:02:57 +02:00
vaxerski
4bd23604f8 Dwindle window group fixes
fixed a crash and animations in the bg
2022-04-12 19:18:26 +02:00
vaxerski
b6a93b2f03 Added window grouping for dwindle
furthermore, added LayoutRenderHints.
2022-04-12 16:44:18 +02:00
vaxerski
f2ab2466ed respect window.isMapped in getWindowsOnWorkspace 2022-04-11 19:57:36 +02:00
vaxerski
a8e8729230 Added zext_workspace protocol support 🎉 2022-04-11 19:51:37 +02:00
vaxerski
b56343133d fixed blur rendering, stencil and gles3 2022-04-11 16:39:48 +02:00
vaxerski
0f9850fafc moveactive fixes 2022-04-10 21:45:24 +02:00
vaxerski
8a4f6d01f3 fixed dragging tiled windows cuz i broke it 2022-04-10 20:02:36 +02:00
vaxerski
a06638d87a oops forgot to remove this 2022-04-10 19:33:02 +02:00
vaxerski
c41c01a7fb Splitratio on dwindle and splitratio mouse controls 2022-04-10 19:31:36 +02:00
vaxerski
2973860b25 do not round fullscreen windows 2022-04-10 19:04:38 +02:00
vaxerski
2cf4480969 fix fadeout blinking transparent windows 2022-04-10 18:25:45 +02:00
vaxerski
71916ee09a fixed XDG popups yet again + removed some old TODOs 2022-04-10 16:47:19 +02:00
vaxerski
92bfe6f13e fixed some more crashes 2022-04-10 16:19:49 +02:00
vaxerski
743efafbde finally fucking fixed #7 2022-04-10 15:36:44 +02:00
vaxerski
3753f83f69 Added default background as a PNG 2022-04-10 14:32:18 +02:00
vaxerski
5046c02cce minor fixes for closing windows and focus 2022-04-10 11:17:06 +02:00
vaxerski
c8c9a966b4 fixes for exec-once and hyprerror 2022-04-09 22:49:07 +02:00
vaxerski
91a6c53197 Added blur_passes config 2022-04-09 17:06:09 +02:00
vaxerski
25299b80bb reset autogenerated status on config load 2022-04-09 16:52:05 +02:00
vaxerski
7996abc8ed fix C++20 deprecation warning 2022-04-09 16:51:36 +02:00
vaxerski
969bebbd06 Added blurring 🎉 2022-04-09 16:51:08 +02:00
vaxerski
b7094200f6 Rendering now to a HyprFramebuffer 2022-04-09 15:01:28 +02:00
vaxerski
eea92231fa warp cursor on focus change 2022-04-09 13:33:44 +02:00
vaxerski
3d5e2c1dc3 Added movefocus dispatcher 2022-04-09 13:26:55 +02:00
vaxerski
7449a0c44c Added default config & warning about it 2022-04-08 22:07:40 +02:00
vaxerski
7347a72ba6 Added HyprError for showing config errors 2022-04-08 21:40:41 +02:00
vaxerski
707de8ec3f Subsurface tree account for subsubsurfaces 2022-04-07 20:15:24 +02:00
vaxerski
e72fc4fca2 Fix XWayland crash on moving invalid window 2022-04-07 18:54:31 +02:00
vaxerski
cebe45a188 small fullscreen fix 2022-04-07 17:07:42 +02:00
vaxerski
80b72afbeb fix cleanupWindows cleaning up wrong windows 2022-04-07 16:45:38 +02:00
vaxerski
c99062f2ec Finally fixed #4 🎉 2022-04-07 16:42:16 +02:00
vaxerski
c7cc9d49d2 unconstrain popups properly 2022-04-06 19:24:20 +02:00
vaxerski
a86bc76b9a fix getTitle crash 2022-04-05 22:28:06 +02:00
vaxerski
50b48818a2 fix crash in AnimationManager 2022-04-05 20:53:16 +02:00
vaxerski
a49bbf4508 fadeout done 🎉 2022-04-05 20:49:15 +02:00
vaxerski
f8e0b0b448 fadein and prep for fadeout 2022-04-05 19:28:10 +02:00
vaxerski
f5562941f7 fixed rounding of things not to be rounded 2022-04-05 18:32:06 +02:00
vaxerski
ddcd4fb767 Mostly fixes #5 2022-04-05 18:29:58 +02:00
vaxerski
dcb6fc269a support all shaders rounded and fix RGBX borders 2022-04-05 17:01:44 +02:00
vaxerski
3385269dca Added rounded borders. 2022-04-05 16:47:03 +02:00
vaxerski
27c06758e4 basic window rounded corners 2022-04-05 15:50:47 +02:00
vaxerski
19d9465042 Rendering textures 2022-04-05 14:33:54 +02:00
vaxerski
67343898ff fixed rendering rects 2022-04-04 22:06:57 +02:00
vaxerski
334f5a59b0 added broken rect renderer 2022-04-04 21:45:35 +02:00
vaxerski
374491ee63 progress 2022-04-04 19:44:25 +02:00
vaxerski
d15cda7e41 iterate over floating windows correctly with Z 2022-04-04 16:33:50 +02:00
vaxerski
59b96f782b Bring floated to top on click 2022-04-04 16:28:43 +02:00
vaxerski
c21881be25 Implement proper z-system 2022-04-04 16:25:30 +02:00
vaxerski
462781b16f Added drag to move window 2022-04-03 13:49:21 +02:00
vaxerski
df6a3c6877 fix non-gdk popups on multimon 2022-04-03 10:32:21 +02:00
vaxerski
3f99dad7f5 Added pseudotiling 2022-04-02 20:04:32 +02:00
vaxerski
7add082217 send focus change 2022-04-02 19:09:27 +02:00
vaxerski
223beb8a82 Multiple focus handling changes 2022-04-02 18:57:09 +02:00
vaxerski
c923b4f075 XDG popup tweaks 2022-04-02 13:41:15 +02:00
vaxerski
4db773b1e7 Fix popups focus on native GDK 2022-04-02 13:02:16 +02:00
vaxerski
ca2459e563 Do not refocus on pressed mouse 2022-04-01 23:34:19 +02:00
vaxerski
befddca16d Only refocus on pressed 2022-04-01 23:31:33 +02:00
vaxerski
304bf4522e Revert "Fixed XWayland (GTK/?) popups focus"
This reverts commit cd62eb5624.
Breaks a lot of other popups
2022-04-01 23:31:12 +02:00
vaxerski
cd62eb5624 Fixed XWayland (GTK/?) popups focus 2022-04-01 23:11:09 +02:00
vaxerski
7ec2aed55f More checks in popups 2022-03-31 21:58:33 +02:00
vaxerski
51dfc0f9c9 fix critical crash with multi-popups 2022-03-31 21:55:21 +02:00
vaxerski
a3860e99cb modify unfocus behavior 2022-03-31 21:47:03 +02:00
vaxerski
c63225b332 Log focus 2022-03-31 19:41:55 +02:00
vaxerski
670ba55b35 export XDG_CURRENT_DESKTOP 2022-03-31 19:16:00 +02:00
vaxerski
b89c174da2 custom animation speeds for components 2022-03-31 17:53:28 +02:00
vaxerski
586e2a98ed Added animated borders 2022-03-31 17:50:00 +02:00
vaxerski
993e601424 remove some warnings 2022-03-31 17:26:09 +02:00
vaxerski
3e614f2c1e Draw the drag icon 2022-03-31 17:25:23 +02:00
vaxerski
469af204f7 Set envvars to encourage apps to use wayland 2022-03-30 22:38:07 +02:00
vaxerski
3ca2d3b678 fix some crashes 2022-03-30 21:18:42 +02:00
vaxerski
3f84dac599 return front when monitor from vector fails 2022-03-30 20:17:33 +02:00
vaxerski
f794c91293 windows on top of fullscreen, lastmonitor fixes 2022-03-30 20:16:23 +02:00
vaxerski
e49657f0f9 use last monitor and not cursor in map 2022-03-30 19:34:57 +02:00
vaxerski
cd8d628c72 handle invalid map 2022-03-30 17:43:31 +02:00
vaxerski
7439246efb tell windows to fullscreen on keybind 2022-03-30 17:39:04 +02:00
vaxerski
d01c7c07d8 Fix IPC being wonky 2022-03-30 16:24:42 +02:00
vaxerski
ae3d1ec3ad fix crash 2022-03-29 15:30:08 +02:00
vaxerski
ad4fc28f78 🎉 Wrapped dynamic event handlers 2022-03-28 22:31:39 +02:00