Commit Graph

13 Commits

Author SHA1 Message Date
7b854112ed workspace taskbars: Allow custom command on window click 2025-01-27 11:46:35 +01:00
b4519c0819 workspace taskbars: Use sigc::mem_fun instead of lambda 2025-01-27 11:46:35 +01:00
5ee0d1c7fe workspace taskbars: Fix windows not showing
Windows were not being shown or updated unless the window-rewrite config were present.
2025-01-27 11:46:35 +01:00
3948c0d154 workspace taskbars: Focus window on click 2025-01-27 11:46:35 +01:00
53ca5a4883 workspace taskbars: Display windows in a consistent order
Use a vector instead of a map for for storing the workspace windows.
This orders the windows by the time they were added to the workspace, instead of sorting by address (which is effectively a random order). The new ordering seems to match the wlr/taskbar module
2025-01-27 11:46:35 +01:00
fdb9004048 workspace taskbars: More config options
- orientation
- icon-size
- icon-theme
2025-01-27 11:46:35 +01:00
1c07ca0099 workspace taskbars: Add config parsing
Use format from config instead of hardcoding
2025-01-27 11:46:35 +01:00
69e2e249a6 Initial implementation of workspace taskbars
Add a list of window titles and icons to each workspace (like wlr/taskbar but grouped by workspace).

Only implemented on hyprland for now.
2025-01-27 11:46:35 +01:00
702e10649e modules/hyprland/workspace: ignore empty window-rewrite
I'd like to ignore some windows from having icons or empty space taken
on the bar. By filtering out empty repr we can supply rewrite rules that
will ignore them from being processed and showing an empty space or
default icon.
2024-07-03 00:21:49 -05:00
f6482c36dc hyprland: clangd cleanup 2024-06-28 13:06:14 -05:00
29e3d8c371 Hide non-visible special workspaces 2024-05-28 17:45:01 +02:00
82ae474002 hyprland/workspace: sort methods 2024-05-24 14:29:03 -05:00
56319a4705 hyprland/workspaces: break up implementations 2024-05-24 14:21:31 -05:00