Commit Graph

33 Commits

Author SHA1 Message Date
Jas Singh
c8e657f3f9 Improve workspace module performance. (#430)
* Move out rule fetching to on startup

* Discard null tray values
2024-11-03 20:23:55 -08:00
Jas Singh
5bc1c1e7d4 Add workspace app icon side-effects and add wiki link for settings. (#387)
* Add side-effect for app icons for workspaces and udated mpris types.

* Add links to workspace icon toggles.

* Add subtitle
2024-10-28 00:03:28 -07:00
Daniel Pfefferkorn
4e2a774c7e feat(workspace): map client classes to application icons (#368)
* feat(workspace): map client classes to application icons

* refactor: extract app icon detection

* feat: hide duplicate icons per workspace

* feat: use dedicated icons for empty workspace and fallback

* provide default icons

* feat: title or class matcher can no provided as regex

* style: change option description

* style: use more descriptive param name

* style: fix comment

* fix(lint): missing return type

* refactor: move type definitions into separate file

* feat: defined default app icon set

* docs: change option subtitles

* style: change icons

* fix: add missing default variant

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-27 20:11:42 -07:00
Jas Singh
ee7d19320c Refactored hooks to specify events and reworked the dropdowns to be significantly faster and more responsive. (#304)
* Updated events to be more specific

* Update more events

* Update globalmousepos

* Update themes and submap module to show submap name.

* Type fixes

* Reworked menu position calculation logic to be much more efficient.

* Revert import file location

* We luv arrow functions

* Remove globalMousePos remnants since it's unused.

* Added the ability to configure menu dropdown transition and duration.

* Fix type
2024-10-06 00:22:27 -07:00
Jas Singh
19a0ccf150 Added the options to allow workspaces to be indicated as active on multiple monitors. (#289)
* Added the options to allow workspaces to be indicated as active on multiple monitors.

* Add subtitle
2024-09-28 17:09:15 -07:00
Jas Singh
a3ae60f621 Added Smart Highlighting for mapped workspaces. (#288)
* Improved workspace highlighting and added smart highlight option

* Added to default workspace variant.

* Remove hover effects

* Remove unused functions.

* Remove unused hover properties

* Remove unused variable from utils.

* Make hideUnoccupied the default option
2024-09-28 12:48:01 -07:00
Lucas Alber
233c97aff3 fix: unoccupied workspace index (#285) 2024-09-27 20:53:44 -07:00
Jas Singh
69c468296b Update the ignored workspaces rule to a regex instead of array. 2024-09-25 01:05:47 -07:00
Jas Singh
c01ddce201 Added the ability to ignore workspaces by number or regex 2024-09-25 00:49:08 -07:00
Jas Singh
6905fb4eb7 Implemented configurable and toggleable button borders. (#279)
* Implemented configurable and toggleable button borders.

* Improve and simplify border logic

* Fix hidden label icon borders.

* Removed button hover property from bar buttons, they dim on hover now by default.

* Rename file.

* Update catppuccin normal theme's storage module color.

* update mocha items

* update mochas

* Update themes to account for borders
2024-09-22 02:59:30 -07:00
Jas Singh
f09ffa7699 Implement custom icons per workspace. (#261)
* Implement custom icons per workspace.

* Finish custom workspace icon implementation

* Remove unsupported color definition.
2024-09-15 15:19:32 -07:00
Jas Singh
2c72cc66d8 Implemented strict linting standards and prettier formatting config. (#248)
* Implemented strict linting standards and prettier formatting config.

* More linter fixes and type updates.

* More linter updates and type fixes

* Remove noisy comments

* Linter and type updates

* Linter, formatting and type updates.

* Linter updates

* Type updates

* Type updates

* fixed all linter errors

* Fixed all linting, formatting and type issues.

* Resolve merge conflicts.
2024-09-14 16:20:05 -07:00
Jas Singh
fc2b781673 Made unoccupied workspaces setting more compaitble with # of workspaces assigned. (#192)
* Made unoccupied workspaces setting more compaitble with # of workspaces assigned.

* Updated monitor listings

* Fix scenario where workspace rules aren't defined.

* Refactor for clean up and use workspace names instead of loop index.
2024-08-25 22:32:00 -07:00
Jas Singh
cedf94ff41 Remove uninended logs statements. (#191) 2024-08-25 18:59:22 -07:00
Jas Singh
60096ced7c Added the ability to hide unoccupied workspaces. (#189)
* Consolidated workspace logic

* Added the ability to hide unoccupied workspaces.
2024-08-25 18:11:15 -07:00
Jas Singh
c769ebb27b Added bar button & button hover opacity option and fixed workspace module hover styling. (#166) 2024-08-21 20:02:00 -07:00
Jas Singh
b200b6fadb Fix NerdFont icon alignments. (#143)
* WIP

* Fix nerdfont icon alignments

* Ship needed fonts

* Remove italicised fonts

* Update readme and separate OSD settings into their own category.

* Dashboard styling updates

---------

Co-authored-by: matavach <erik@matijevich.org>
2024-08-18 00:32:22 -07:00
matavach
b3b397d479 Workspace bar changes (#129)
* workspace mask + 'color only' indicator

* edits

* edits - 2

* Update modules/bar/workspaces/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-16 21:52:07 -07:00
Jas Singh
c9e3a29edc Workspaces are now handled properly for scrolling when there are no rules defined for them. (#112)
* Workspaces are now handled properly for scrolling when there are no rules defined for them.

* Discard spaces that were added by formatting... or something?

* Another whitespace revert
2024-08-11 20:13:31 -07:00
Jas Singh
0d7bd7dbc2 Gracefully handle the scenario where workspace rules for a monitor are undefined. (#108)
* Gracefully handle the scenario where workspace rules for a monitor are undefined.

* Added type definitions to function outputs.
2024-08-10 22:43:41 -07:00
Jas Singh
f09f4ad6bd Closes #22 - Implemented numbered workspace identifiers. (#31) 2024-07-28 17:51:16 -07:00
Jas Singh
033fbe6947 Made various improvements to the workspaces module. (#17)
* Made workspace scrolling slower and more natural.

* Fix workspace scrolling not working on single monitors: Fixes #8

* Fixed #15 and added configuration options to adjust workspace spacing and scrolling speed.
2024-07-28 01:44:00 -07:00
Jas Singh
bb6597fe01 Implemented the ability to change workspaces by scrolling or clicking on the workspace module. (#12)
* Updated README to add instructions on Notifications.

* Resolves #8 - Implemented scrolling and clicking to change workspaces.

* Remove the hover effect on workspaces as its no longer applicable.
2024-07-27 20:07:00 -07:00
Jas Singh
ca5dcc629b Converted a significant amount of files from js to ts. 2024-07-26 02:02:47 -07:00
Jas Singh
aedb112a5c Fixed bug that would cause icon based workspaces indicator to not update properly. 2024-07-25 01:34:53 -07:00
Jas Singh
a480400359 Added more configuration options 2024-07-20 16:21:52 -07:00
Jas Singh
c67b264a66 Finish calendar styling... 2024-07-18 01:09:44 -07:00
Jas Singh
8015294183 Fix bug that would error when fetching workspace hyprland rules on single monitors. 2024-07-18 00:30:15 -07:00
Jas Singh
50eeb4275d Implement styling options for all the bar components (not menus) through options variables. 2024-07-17 01:44:50 -07:00
Jas Singh
11785d1a5d Implemented config changing functionality 2024-07-15 01:37:41 -07:00
Jas Singh
608137a604 Styled power menu 2024-06-09 22:28:07 -07:00
Jas Singh
d695d9aa67 Added Power menu and show only the workspaces allocated to monitor 2024-06-09 18:40:51 -07:00
Jas Singh
6ff50006f2 Added workspaces, window titles, volume, bluetooth, systray and date/time modules to the panel 2024-06-09 01:25:57 -07:00