Commit Graph

1100 Commits

Author SHA1 Message Date
Csaba
e88a2fd9c0 format 2024-11-16 18:29:24 +01:00
Csaba
9ec67ad988 account for ui item_spacing when setting the widget_spacing 2024-11-16 18:28:09 +01:00
Csaba
97e36173f4 Merge branch 'bar_widget_grouping' of https://github.com/CtByte/komorebi into bar_widget_grouping 2024-11-16 16:45:32 +01:00
Csaba
50b49ccf69 refactoring widget spacing 2024-11-16 16:45:27 +01:00
CtByte
6c25306c44 Merge branch 'LGUG2Z:master' into bar_widget_grouping 2024-11-15 13:24:35 +01:00
Csaba
85a41bf5b2 correct widget spacing on all widgets 2024-11-15 13:13:51 +01:00
dependabot[bot]
818ec1c63b chore(deps): bump catppuccin-egui from 5.3.0 to 5.3.1
Bumps [catppuccin-egui](https://github.com/catppuccin/egui) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/catppuccin/egui/releases)
- [Changelog](https://github.com/catppuccin/egui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/catppuccin/egui/compare/catppuccin-egui-v5.3.0...catppuccin-egui-v5.3.1)

---
updated-dependencies:
- dependency-name: catppuccin-egui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 14:46:54 -08:00
dependabot[bot]
a10bb467e5 chore(deps): bump thiserror from 1.0.68 to 2.0.3
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.68 to 2.0.3.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.3)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 14:46:44 -08:00
dependabot[bot]
4fd60bbff3 chore(deps): bump image from 0.25.4 to 0.25.5
Bumps [image](https://github.com/image-rs/image) from 0.25.4 to 0.25.5.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md)
- [Commits](https://github.com/image-rs/image/compare/v0.25.4...v0.25.5)

---
updated-dependencies:
- dependency-name: image
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 14:46:34 -08:00
Csaba
36c267246b correct spacing on komorebi and network widgets (WIP) 2024-11-14 23:17:39 +01:00
Csaba
9311cb00ec simplify no_spacing 2024-11-13 22:21:19 +01:00
Csaba
cba2b2f7ac refactoring of render and grouping, widget spacing WIP 2024-11-13 22:08:58 +01:00
Csaba
c18e5f4dbe test commit 2024-11-12 23:49:25 +01:00
Csaba
b43a5bda69 added widget_spacing to config 2024-11-12 22:23:54 +01:00
Csaba
be45d14f6d proper widget spacing based on alignment 2024-11-12 20:23:33 +01:00
CtByte
3cd5d76644 Merge branch 'LGUG2Z:master' into bar_widget_grouping 2024-11-12 12:43:58 +01:00
Csaba
cbd415f28f renamed Side to Alignment, group spacing 2024-11-12 12:26:09 +01:00
LGUG2Z
cc196db046 feat(cli): add cycle-stack-index cmd
This commit adds a new komorebi command "cycle-stack-index" which allows
the user to manipulate the index position of the focused window in the
focused stack by swapping it with either the previous or the next window
until the desired index position has been found.
2024-11-11 16:27:45 -08:00
Csaba
3808fcec8f widget rounding based on grouping, atomic background color, simplified config, style on grouping 2024-11-12 00:16:02 +01:00
CtByte
0ddafeefb0 Merge branch 'LGUG2Z:master' into bar_widget_grouping 2024-11-11 19:08:49 +01:00
alex-ds13
7f0b54c35e fix(wm): add read timeout to command socket
After investigating further the issue where commands would randomly stop
working, we've noticed that the issue seems to be that somehow the
listening thread gets stuck reading the unix socket, as in it
continuously tries to read a socket on a connection that is not sending
anything anymore. The result would be that komorebi would no longer be
able to receive commands until it was restarted.

This fix adds a read timeout of 1s and it spawns a new thread to handle
the stream reading and process of cmds. So in case this happens again,
that specific processing thread will only be stuck for 1s but the rest
of komorebi will never get stuck and should keep working normally.
2024-11-11 06:22:42 -08:00
CtByte
935b6b16ce Merge branch 'LGUG2Z:master' into bar_widget_grouping 2024-11-11 08:40:36 +01:00
Csaba
4f4b617f26 grouping on bar, converting AlphaColour from_rgba_unmultiplied, simplified grouping 2024-11-11 00:38:40 +01:00
thearturca
b1726af2eb fix(animation): set pos for all container windows
This change prevents the move animation from playing again for each
window in the stack. Tested with all hiding behaviors. Looks good so
far.

resolve #1029
2024-11-10 09:24:56 -08:00
Csaba
2cd237fd0d added shadow to grouping, optional width on grouping stroke 2024-11-10 13:58:24 +01:00
Csaba
d88774328a grouping correction on init 2024-11-10 02:23:23 +01:00
Csaba
10d2ab21c7 hot-reload on grouping 2024-11-10 01:59:42 +01:00
Csaba
645c46beb8 background color using theme color, AlphaColour.to_color32_or, updating json format for Grouping and RoundingConfig 2024-11-09 17:38:30 +01:00
Csaba
74dcb9b4e4 Merge branch 'bar_widget_grouping' of https://github.com/CtByte/komorebi into bar_widget_grouping 2024-11-09 01:26:03 +01:00
Csaba
12117b832b changed default values 2024-11-09 01:25:59 +01:00
CtByte
a464a8c0d7 Merge branch 'LGUG2Z:master' into bar_widget_grouping 2024-11-09 01:20:40 +01:00
Csaba
ec5f7dc82d handling grouping edge case for komorebi focus window 2024-11-09 01:02:44 +01:00
Csaba
cba0fcd882 added RoundingConfig 2024-11-09 00:35:24 +01:00
Csaba
655e8ce4c1 AlphaColour, transparency, bar background, more grouping config options 2024-11-08 23:51:00 +01:00
LGUG2Z
fd8cd4bb01 docs(github): add pull request template 2024-11-08 12:34:47 -08:00
LGUG2Z
172988ed81 fix(wm): apply ws cfgs only to declared ws indices
This commit ensures that when attempting to reload the static
configuration file after the user has imperatively created new
workspaces, the configuration reload logic will not attempt to load a
workspace config for those imperatively created workspaces.
2024-11-08 12:28:52 -08:00
Csaba
7fff6d29a9 dereferencing 2024-11-08 17:26:47 +01:00
Csaba
1008ec2031 rounding from settings, and apply_on_side 2024-11-08 17:11:43 +01:00
Csaba
d188222be7 added widget grouping and group module 2024-11-08 00:40:13 +01:00
Csaba
f446a6a45f "|mt --check" fix (thanks VS) 2024-11-07 10:52:53 +01:00
Csaba
ce49b433f9 GroupingConfig 2024-11-07 10:42:04 +01:00
Csaba
fbe5e2c1f7 Group -> Grouping 2024-11-07 09:42:12 +01:00
Csaba
80f0214e47 Group enum, Copy RenderConfig 2024-11-07 09:38:19 +01:00
Csaba
6a91dd46cd ignore unused 2024-11-07 00:09:43 +01:00
Csaba
a5a7d6906c comment 2024-11-06 23:55:59 +01:00
Csaba
0a5e0a4c0a no clone 2024-11-06 23:53:34 +01:00
Csaba
e8f5952abb adding RenderConfig, and some test frames on widgets 2024-11-06 23:49:55 +01:00
LGUG2Z
36e3eaad36 fix(bar): retain exact workspace indices
This commit ensures that the exact workspace indices are tracked in the
komorebi widget state.

This fixes a bug where an incorrect workspace index could be sent with
SocketMessage::FocusWorkspaceNumber if a user had hide_empty_workspaces
set to true.

fix #1102
2024-11-04 17:01:49 -08:00
LGUG2Z
0f022d47df feat(cli): add close-workspace cmd
This commit introduces a new komorebic command, close-workspace. This
command will remove the focused workspace from the window manager state
if the following conditions are met:

1. The number of workspaces on the focused monitor are >1
2. The workspace is empty
3. The workspace is unnamed

The third condition is to ensure that we are not removing workspaces
which have been declared in the static configuration file.
2024-11-04 12:39:08 -08:00
LGUG2Z
dc1eb8ff50 fix(cli): expand list of ahk executable names
fix #1103
2024-11-04 12:07:38 -08:00