Commit Graph

35 Commits

Author SHA1 Message Date
Rubin Bhandari
c265697adc feat: add option to hide label when battery is full (#350)
* feat: add option to hide label when battery is full

* feat: add option to hide label when battery is full

* feat: add option to hide label when battery is full

* Update modules/bar/battery/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* fix: battery css

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-21 01:46:47 -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
Jas Singh
69c468296b Update the ignored workspaces rule to a regex instead of array. 2024-09-25 01:05:47 -07:00
Jas Singh
91bd49e1a8 Update description of option to ignore workspaces. 2024-09-25 00:51:11 -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
b47864d8e1 Added the ability to assign shortcuts to all bar modules. (#278) 2024-09-21 16:47:59 -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
8c2537b917 Added the ability to change bar locations. (#257)
* Added the ability to change bar locations.

* Update dropdown margins

* Make dropdown to bar gap configurable and organized code.
2024-09-14 23:29:00 -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
painerp
1aed9f51f9 Adds more window title options (#169)
* Adds options for windowtitle to toggle: custom title, icon and truncation

* Implements window title toggles: showIcon and showCustomTitle; Adds a new default title function and truncates it if specified

* incorporate new show label option into window title

* fix window title spacing to work with new styles

* allows truncation for custom window titles

* allows custom window title icon with default window title

* add option to show the window class name or title; refactor for consistency and easier readability

* remove redundant custom window title check
2024-09-08 13:09:13 -07:00
Jas Singh
4f91bb8b8f Added filters for notifications and system tray items. (#234)
* Added filters for notifications and systray. closes #233

* Add links to documentation.
2024-09-08 02:01:13 -07:00
Hristo Karamanliev
c0561a7c8d Option to change the visibility of the media button (#226)
* add option entry and default value

* add functionality

* Update options copy

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Remove redundant visibility property

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* changing the option takes effect immediately

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-09-05 19:51:36 -07:00
Jas Singh
4cdda38604 Implement framework for custom modules and out of the box custom modules as well. (#213)
* Create declarative module scaffolding

* Added ram module (WIP)

* Updates to options, styling and more.

* Added function for styling custom modules.

* Added utility functions and cleaned up code

* Type and fn name updates.

* Update module utils to handle absent values.

* Added icon color in style2 that was missing.

* Linted utils.ts

* Add CPU module and update RAM module to use /proc/meminfo.

* Added disk storage module.

* Consolidate code

* Added netstat module and removed elements from systray default ignore list.

* Added keyboard layout module.

* Fix hook types and move module to customModules directory

* Added updates modules.

* Spacing updates

* Added weather module.

* Added power menu and power module in bar. Increased update default interval to 6 ours.

* Updated styling of bar buttons, made power menu label toggleable, etc.

* Consolidate code and add dynamic tooltips based on data being used.

* Make default custom mogules matugen compatible

* Update base theme

* Fix custom module background coloring

* Remove testing opacity.

* Update themes to account for new modules

* Update nix stuff for libgtop (Need someone to test this)

* Update nix

* Update fractions to multiplications

* Move styling in style directory

* Implement a polling framework for variables that can dynamically adjust polling intervals.

* Netstat module updates when interface name is changed.

* Readme update
2024-09-02 21:10:59 -07:00
Jas Singh
b6b2804590 Added subtitles to the Total Worksaces and Monitor Specific workspace options. (#194) 2024-08-26 01:45:26 -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
b080d6b00d Added an icon to the calendar widget in the bar. (#181)
* Added an icon to the calendar widget in the bar.

* Updated themes for calendar icon.
2024-08-24 23:52:33 -07:00
Jas Singh
2908ff7dd6 Added 3 new styles for bar buttons. (#168)
* Added a new style called split for bar buttons

* Added wavy button styles.

* Added padding configuration

* Update bar padding

* Fix styling for battery style2

* Fix icon only setting for bar

* Update types and options

* Add button style to exported theme props.

* Fix top margin for menus.
2024-08-24 00:01:21 -07:00
Jas Singh
830de04b14 Added scaling to individual elements (all menus and the bar). (#154)
* Added scaling to individual elements (all menus and the bar).

* Make all dialog pages scrollable

* Add battery menu to settings

* update battery menu scaling

* Fix typo

* Add confirmation dialog scaling
2024-08-18 18:03:45 -07:00
Jas Singh
6c8615c278 Added an option to define custom window title mappings. (#149) 2024-08-18 02:07:30 -07:00
Jas Singh
a1beac4c05 Added the ability to change the layer of the bar (#146) 2024-08-17 13:13:41 -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
83c0941bee Added the ability to select workspace underline color and highlight padding. (#130) 2024-08-14 21:36:57 -07:00
orangc
250443de63 Make media label togglable (#122)
* make it possible to truncate media title to 0

* undo oopsie

* apply @painerp change

* make the label togglable

* Update widget/settings/pages/config/bar/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Update modules/bar/media/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Update modules/bar/media/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Update modules/bar/media/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-14 18:18:13 -07:00
matavach
407c8aa304 added options for bar media module (#88)
* added options for bar media module

* added reviewed changes

* cleaned up
2024-08-07 22:19:14 -07:00
Jas Singh
6166fdbe0f Settings menu now warns when a setting is unsaved. (#65)
* Settings menu now warns when a setting is unsaved. Additionally, font-weight increments properly now.

* Remove font weight fix - another PR already open for fix.
2024-08-02 20:00:28 -07:00
Jas Singh
aae22bef5e Network module rework (#48)
* Fixes #45 - Reworked the network module to be more responsive and added ssid truncation configuration.

* Added truncation options in the defaults.
2024-07-30 21:51:36 -07:00
Jas Singh
f09f4ad6bd Closes #22 - Implemented numbered workspace identifiers. (#31) 2024-07-28 17:51:16 -07:00
Jas Singh
3dc5bbbe13 Adding configuration options to change spacing between icons and labels inside the buttons in the bar. (#30)
* Branch protection check.

* Move button spacing config into the Configuration section instead of Theming.

* Partially Resolves #26 - Added the ability to configure outer spacing on the bar.

* Renamed all class names for buttons so they can be styled with margins.

* Added configurable spacing to buttons.

* Fixed styling for network module when using wifi.

* Fixed ghost margins that occur when labels are disabled in the bar buttons.

* Change the default page of the settings dialog to configuration.
2024-07-28 15:16:31 -07:00
Jas Singh
44bdb46346 Closes #18 - Implemented the ability to make the bar float with configurable spacing. (#19) 2024-07-28 02:28:31 -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
0ee58c69c3 Added an option to opt into tracking GPU stats in the dashboard. (#10)
* Added an option to opt in to GPU usage.

* Catch and log error if exists during GPU stat monitoring.

* Removed unimplemented category header for System Tray in options

* Update the readme to indicate this change.
2024-07-27 14:15:56 -07:00
Jas Singh
21393c122a Implement layout options 2024-07-24 09:46:38 -07:00