Commit graph

263 commits

Author SHA1 Message Date
vaxerski
cb0371dab1 fix floating top and cursor warping 2021-12-23 10:06:48 +01:00
vaxerski
1932214bdb use deques for volatile arrays for no reallocs on pushes 2021-12-22 20:40:24 +01:00
vaxerski
05670e34f7 Reload on RandR update. 2021-12-22 14:53:53 +01:00
vaxerski
582afac75e fix a small glitch with default workspace 2021-12-21 19:46:45 +01:00
vaxerski
0441b4a13e fix typo 2021-12-21 19:36:57 +01:00
vaxerski
5ce8b37382 fix a rare segfault 2021-12-21 19:30:54 +01:00
vaxerski
ef2549f530 major changes and added more window rule keys
added move monitor and size to window rules
changed how shit works with rules
2021-12-21 18:30:35 +01:00
vaxerski
1421d42cae added intelligent transients 2021-12-21 12:22:41 +01:00
vaxerski
786fa73c8c state normal for non-docks 2021-12-21 11:46:31 +01:00
vaxerski
208792c299 fix cancelling closing windows. 2021-12-21 11:32:15 +01:00
vaxerski
03a343a9a6 wrong state oooops 2021-12-21 11:05:32 +01:00
vaxerski
9936331077 ICCCM state normal for tiled windows 2021-12-21 11:02:17 +01:00
vaxerski
c4d2aef448 Added a desktop ewmh atom 2021-12-21 10:46:22 +01:00
vaxerski
27e3258aa9 typooo 2021-12-21 09:48:56 +01:00
vaxerski
a67cbeac94 support net client list stacking 2021-12-21 09:48:41 +01:00
vaxerski
627d53ed7c EWMH desktop support 2021-12-21 09:41:55 +01:00
vaxerski
c679f327d6 Added simple window rules 2021-12-20 20:50:35 +01:00
vaxerski
22983f40f3 no 2021-12-19 19:50:57 +01:00
vaxerski
43ea3674d4 seems like I fixed the docks 2021-12-19 12:33:36 +01:00
vaxerski
2effe5902e size hint fixes 2021-12-19 11:15:52 +01:00
vaxerski
311111bcb7 typo 2021-12-19 11:01:19 +01:00
vaxerski
141ba70705 use size hints for popups 2021-12-19 10:57:31 +01:00
codic
e9e0805b91 inside ConfigManager, don't use getter 2021-12-18 23:30:54 -08:00
codic
fed9b8ca04 fix things in review 2021-12-18 23:23:51 -08:00
codic
9c654f471d implement ewmh atom _NET_FRAME_EXTENTS 2021-12-18 17:39:54 -08:00
vaxerski
be399a85b2 minor patches 2021-12-19 00:47:58 +01:00
vaxerski
57a85553ab Configure request, rounding fixes and bar fixes 2021-12-19 00:28:39 +01:00
vaxerski
1e16487db0 optimize out refreshing and stuff 2021-12-18 15:01:20 +01:00
vaxerski
380ee051c9 fix bar offset oops 2021-12-17 23:31:12 +01:00
vaxerski
962819b049 some delagification 2021-12-17 23:27:27 +01:00
vaxerski
0f581f6731 typo 2021-12-17 22:44:20 +01:00
vaxerski
ba4a3f7909 oopsie fixed 2021-12-17 22:44:00 +01:00
vaxerski
126c0ec934 minor fixes to window focusing 2021-12-17 22:25:36 +01:00
vaxerski
52d8b4fd91 fix firefox spazms 2021-12-17 21:03:53 +01:00
vaxerski
6e5ab3ce35 small fix 2021-12-17 20:59:21 +01:00
vaxerski
cd3a229fa2 respect docs take 2 2021-12-17 20:58:32 +01:00
vaxerski
090048410f Revert "respect docks' reserved area"
This reverts commit 6476407682. Bugs and stuff.
2021-12-17 20:44:35 +01:00
vaxerski
6476407682 respect docks' reserved area 2021-12-17 20:42:16 +01:00
vaxerski
6a108c5a87 fixed #18 2021-12-17 19:57:07 +01:00
vaxerski
c4cd0b1ca8 fix some lost keybinds 2021-12-13 20:44:14 +01:00
vaxerski
88546490ea Added some EWMH 2021-12-13 20:21:54 +01:00
vaxerski
7da0c70be8 Focus to a fullscreen window if present (manual focus) 2021-12-12 13:40:13 +01:00
vaxerski
df02ccaa75
Merge pull request #17 from 3JlOy-PYCCKUi/main
litle printf fix
2021-12-11 15:00:59 +01:00
vaxerski
89e3f9e533 fix closing fullscreen 2021-12-11 14:53:51 +01:00
vaxerski
00eebae66c more vlc fixes 2021-12-11 14:50:29 +01:00
3JlOy_PYCCKUI
37496f4ad4 litle printf fix 2021-12-11 15:12:21 +03:00
vaxerski
f4148d1b24 reverted some log changes and made different ones 2021-12-11 13:04:03 +01:00
vaxerski
477b23f224 fixed vlc being wack on fullscreen 2021-12-11 12:54:45 +01:00
vaxerski
21eab55ffb made logging cheaper 2021-12-10 23:42:24 +01:00
vaxerski
158260c0ec border animation optimization 2021-12-10 23:28:00 +01:00
vaxerski
3216afbf12 fixed border animations lag 2021-12-10 22:42:06 +01:00
vaxerski
183026e2b7 Fixed #16 2021-12-10 22:12:42 +01:00
vaxerski
d329e39873 fixed comments in the config oops 2021-12-10 21:57:08 +01:00
vaxerski
caa967a9b2 Added border animations and better config warnings 2021-12-10 21:55:41 +01:00
vaxerski
2ac537a2fa I broke your configs. (see example.conf animations part)
np guys love yall too
2021-12-10 19:10:12 +01:00
vaxerski
d44c5a9f16 added a main_mod for moving and resizing 2021-12-10 12:09:36 +01:00
vaxerski
8aadccd9e4 sloppy fix for new windows frozen sometimes
if anyone knows a better one feel free
2021-12-09 21:58:20 +01:00
vaxerski
24db17f139 Fix no config found being stuck 2021-12-08 22:27:53 +01:00
vaxerski
c39ced01b0 Added an info when config broken or errors.
Config is now required
2021-12-08 22:05:19 +01:00
vaxerski
06b31f2a5a Fixed a bug with reloading disabled icons 2021-12-06 22:40:43 +01:00
vaxerski
3c86cd2c13 fixed another tray oopsie 2021-12-06 22:38:17 +01:00
vaxerski
03de64b70e Fixed a tray oopsie 2021-12-06 22:34:52 +01:00
vaxerski
9e759fe39e Added cheap animations 2021-12-06 19:43:01 +01:00
vaxerski
7d39393cf8 fix disabled anims not updating 2021-12-06 19:10:38 +01:00
vaxerski
2ca2ddfd2e Added a tray module 2021-12-06 18:56:24 +01:00
vaxerski
b897a1b64e Better mod parsing 2021-12-06 15:04:47 +01:00
vaxerski
f83d3ccea7 added moving focus and no hover focus 2021-12-05 12:05:44 +01:00
vaxerski
6fbbcd2a1c fix again because the last fix didnt fully fix 2021-12-04 23:45:22 +01:00
vaxerski
d1f1643a8f fix some default floating windows crashing 2021-12-04 23:38:31 +01:00
vaxerski
4e4d7870a3 Added a master layout (configurable) 2021-12-04 23:16:24 +01:00
vaxerski
1f317f2ebc fix rounded corners border sometimes bugging 2021-12-04 20:52:55 +01:00
vaxerski
dfb3efa33d Change how tiled->float size works 2021-12-04 17:07:26 +01:00
vaxerski
fd94badac9 Fixed rounded borders and rounded fullscreen 2021-12-04 15:55:54 +01:00
vaxerski
bafa001f59 refocus when window closed 2021-12-02 15:08:19 +01:00
vaxerski
0cfe129ce4 Correctly lay out centered floating on multimon 2021-12-01 22:28:53 +01:00
vaxerski
da349a03b2 Added #12
Added %WINCLASS% to percent tokens
2021-12-01 22:23:16 +01:00
vaxerski
dc017c49c5 Added a min floating size on start 2021-12-01 16:24:49 +01:00
vaxerski
2d82458260 Added icons to the status bar 2021-11-30 21:11:27 +01:00
vaxerski
acb177bf4d fixed an oopsie 2021-11-30 20:13:56 +01:00
vaxerski
09bafd05a1 added exec-once 2021-11-30 20:10:37 +01:00
vaxerski
f32c0abcf2 Fixed #9 #7 and #8
Alongside with the 2 previous commits.
2021-11-30 17:08:52 +01:00
vaxerski
e9313fe3aa better window killing method 2021-11-30 16:43:28 +01:00
vaxerski
565bcd3e5f Render bar fully with cairo to enable alpha blending 2021-11-29 22:09:27 +01:00
vaxerski
1a05147c92 Bar now fully works with transparency. 2021-11-29 21:51:01 +01:00
vaxerski
da0029d45c made the bar into EWMH dock 2021-11-29 21:17:06 +01:00
vaxerski
c914abe3ba made the pixmap be cleared for bg with alpha 0 to work 2021-11-29 20:51:49 +01:00
vaxerski
d73b3bf92b made all kinds of notifications and dialogs floating by default 2021-11-28 16:14:12 +01:00
vaxerski
5303743157 Added rounded corners.
Doesn't work with borders.
Picom tends to apply the shadow incorrectly.
If anyone wants to contribute to this, feel free. I am not planning on making this work better in the forseeable future as it's really not that popular.
2021-11-28 14:03:34 +01:00
vaxerski
c0940bddd8 fixed the bar being behind transparent fullscreen windows 2021-11-28 13:04:07 +01:00
vaxerski
5f8634adbb fix closing fullscreen window 2021-11-28 12:57:10 +01:00
vaxerski
3f58a2539d fix window calc bug 2021-11-28 12:43:53 +01:00
vaxerski
bf21be1bba fixed a bug with bar config 2021-11-28 12:08:52 +01:00
vaxerski
05fb292c92 Docks/Fullscreen autodetect + fixed a crash 2021-11-28 11:52:40 +01:00
vaxerski
c080bf5174 fix some memory leaks 2021-11-27 20:55:47 +01:00
vaxerski
d033ae9cfd bar fullscreen window 2021-11-27 20:24:50 +01:00
vaxerski
5a0a8fb0d1 Fixed WM crashes on wonky windows opening 2021-11-27 19:44:58 +01:00
vaxerski
6224ffb078 Bar modules upgrade 2021-11-27 19:07:33 +01:00
vaxerski
ec865f0f8e Feat: made the status bar into a separate process. 2021-11-27 13:28:30 +01:00
vaxerski
47fa04b5ac yeeted gdk, doesn't seem to do much 2021-11-26 21:44:40 +01:00
vaxerski
69b10d1527 fix wm freezes 2021-11-26 20:25:00 +01:00
vaxerski
c8c879f103 Added a cairo bar. READ THE COMMIT DESC.
I have had this crash my WM on boot once in a blue moon. This happens rarely and should NOT happen when the WM is already running.
If anyone has a solution, feel free to contribute.
If you want to be 100% safe, use bar_enabled=0 in the config.
2021-11-26 20:20:11 +01:00
vaxerski
005265404a I always forget to turn off this debug thing 2021-11-25 17:59:53 +01:00
vaxerski
3180ad2104 Root window now has a cursor 2021-11-25 17:57:50 +01:00
vaxerski
1e4b54f3f0 Added move to workspace and fixed floating windows being wonky a bit 2021-11-25 17:44:46 +01:00
vaxerski
5361f29304 fixed a typo 2021-11-25 16:54:08 +01:00
vaxerski
3be88ec4dd Tweak close window 2021-11-25 16:51:09 +01:00
vaxerski
c1483d571d Fixed #5 2021-11-25 16:06:52 +01:00
vaxerski
9f8a71322c Fixed some ghost window cases. (readme update too) 2021-11-24 21:50:44 +01:00
vaxerski
7856d4a224 EWMH #1, now shows in neofetch 2021-11-24 21:23:14 +01:00
vaxerski
a92ec9a44e fixed a fatal error with default floating windows 2021-11-24 19:33:32 +01:00
vaxerski
36b89e7152 revert bullshit windows, apparently some apps create those... 2021-11-24 19:24:56 +01:00
vaxerski
a7f53b5dfa added a status command 2021-11-24 19:17:13 +01:00
vaxerski
c8553387bb fixed multiple highlighted windows when multimon switching workspaces 2021-11-24 19:03:43 +01:00
vaxerski
2645bbdc05 Added a hypothetical sanity check #2 2021-11-24 19:01:29 +01:00
vaxerski
aec53d2420 Stop animating floating window movements. 2021-11-24 18:53:56 +01:00
vaxerski
ad87629d51 Sanity check against duped children 2021-11-24 18:51:34 +01:00
vaxerski
8f172a4e55 Added some simple checks for windows that shouldnt be tiled 2021-11-24 18:37:45 +01:00
vaxerski
c5eb8f2e1e fixed an issue with workspaces not being reloaded if on another monitor 2021-11-23 22:23:22 +01:00
vaxerski
ccc77d3d60 added ShouldBeFloatedOnInit 2021-11-23 22:15:36 +01:00
vaxerski
e9eb7fa779 Last point off the roadmap! Wait for a new one! 🎉
🎉🎉🎉
2021-11-23 18:48:03 +01:00
vaxerski
3a4c0e5bc6 make floating windows on top on each new window 2021-11-23 17:43:27 +01:00
vaxerski
fa221d5f05 fix removeWindowFromVectorSafe not removing nodes 2021-11-23 17:41:30 +01:00
vaxerski
e23ac83c49 added more mods 2021-11-23 17:00:47 +01:00
vaxerski
4ddc5fdb3a forgot to remove debug line 2021-11-23 16:53:29 +01:00
vaxerski
029c66b2bc fix rare crash in the bar 2021-11-23 16:51:56 +01:00
vaxerski
1fd1e09dbc keybinds on reload 2021-11-23 16:49:53 +01:00
vaxerski
52a6ede355 do not sort mons, breaks IDs 2021-11-23 16:34:40 +01:00
vaxerski
755d498946 fix randr, using 1.5 2021-11-23 16:24:31 +01:00
vaxerski
5b551d13af some checks, todo fix randr 2021-11-22 22:37:01 +01:00
vaxerski
7b7ba35b0c added floating windows 🎉 2021-11-22 21:20:32 +01:00
vaxerski
6898923463 added border color config 2021-11-22 19:06:00 +01:00
vaxerski
4ffa3ab6a1 many fixes for multi monitor, added also the new window tree system 🎉
🎉
2021-11-22 18:43:55 +01:00
vaxerski
c6cd584410 multiple small changes, bar better, fullscreen, updating 2021-11-21 22:24:38 +01:00
vaxerski
1074d411eb sanity checks 2021-11-21 21:16:19 +01:00
vaxerski
7d6a8e8ee7 bar config monitor added 2021-11-21 20:40:22 +01:00
vaxerski
4c11e3355f more multimon fixes + killing better 2021-11-21 20:34:31 +01:00
vaxerski
7b3fc10ef2 bar now shows the moused workspace 2021-11-21 20:21:58 +01:00
vaxerski
d9fc533725 more monitor fixes 2021-11-21 20:17:49 +01:00
vaxerski
5153db3934 multimon patches 2021-11-21 19:59:59 +01:00
vaxerski
abc4c6d36e better time to clear logs 2021-11-21 18:34:20 +01:00
vaxerski
7bf163d45b fixed exec 2021-11-21 18:25:38 +01:00
vaxerski
b66200013a Multi monitor support 2021-11-21 17:40:02 +01:00
vaxerski
0c842d35be seems like i fixed the fucking flicker 🎉 2021-11-21 16:53:06 +01:00
vaxerski
085261c205 fixed an oopsie and added logging to file 2021-11-21 16:26:50 +01:00
vaxerski
ad05b0f8f6 oops 2021-11-21 15:26:26 +01:00
vaxerski
f440ca4e37 todo moving floating 2021-11-21 15:25:57 +01:00
vaxerski
d3d5e4379b floating windows 2021-11-21 15:15:33 +01:00
vaxerski
ca9821fec4 Added keybinds to the config 2021-11-21 13:11:51 +01:00
vaxerski
5a5ecafd91 Basic CFG system 2021-11-21 12:40:03 +01:00
vaxerski
0a5c4b46f9 Added fullscreening, 3 points off the roadmap! 2021-11-21 11:42:44 +01:00