Commit Graph

123 Commits

Author SHA1 Message Date
Rubin Bhandari
ac794dccb0 fix: add battery notif (#441)
* fix: waybar style battery msgs

* Revert "fix: waybar style battery msgs"

This reverts commit 924d998ddda6cb4becc87fabfd7958a0f7ecc773.

* fix: revert changes

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-17 12:10:16 -08:00
Rubin Bhandari
4b041bcf1f feat: idle inhibit (#502)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-17 11:29:36 -08:00
Jas Singh
ec648a6352 Fixed an issue where a curly brace would display in the window title when custom titles were enabled. (#512) 2024-11-16 08:35:58 -08:00
Jas Singh
0c6a19ab89 Fixed an issue that would cause the volume module to expand to the whole bar. (#508) 2024-11-15 01:59:34 -08:00
Jas Singh
6cab0ff4b7 Added the hyprsunset module (requires hyprland v0.45.0) (#485)
* add sunset module

* Implement hyprsunset module.

* Update themes

* Undo vivids

* Fix vivids
2024-11-12 03:35:27 -08:00
Jas Singh
fabec34557 Added ellipses to truncated media label if the media label is larger than the truncation size. (#471) 2024-11-09 17:18:29 -08:00
Jas Singh
6120777b19 Bar now properly hides if all sections are empty. (#467) 2024-11-09 13:09:48 -08:00
Rubin Bhandari
3cc3fa5d42 feat: launcher icon auto detect from os name (#413)
* feat: launcher icon auto detect from os name

* feat: add more

* fix: revamp distro icon

* feat: on hover only show actions if available on notifications (#396)

* feat: on hover only show actions if available on notifications

* feat: on hover only show actions if available on notifications

* fix: make the change configurable

* fix: remove unneeded op

* Added the ability to scale a popover. (#443)

* Added the ability to scale a popover.

* Removed redundant code

* Provide a cli command to clear notifications. (#444)

* Added a cpu temperature custom module. (#446)

* Added a CPU Temperature module.

* Update defauls and add wiki link.

* Move celsius to fahr conversion to method.

* fix: move distoicons , use capitalizeLetter func

* fix: lint

* Rename dissto.ts to distro.ts

* Update lib/utils.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-08 01:31:21 -08:00
Rubin Bhandari
9ae59034fa fix: display media total length on bar and add a time label (#435)
* fix: display media total length on bar

* fix: add option to display custom nomedia text

* feat: add dedicated label too

* fix: media add more window names for playables

* fix: add option to control display time

* Consolidate code and make tooltip timestamp for media bar opt-in.

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-08 01:15:06 -08:00
Jas Singh
22055b727a Added a cpu temperature custom module. (#446)
* Added a CPU Temperature module.

* Update defauls and add wiki link.

* Move celsius to fahr conversion to method.
2024-11-06 02:52:22 -08:00
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
9287e1d6a4 Added the ability to enable borders for the bar. (#428)
* Added the ability to configure a border for the bar.

* Added the right color for configs
2024-11-03 02:09:13 -08:00
Jas Singh
16457ad641 Fixed an issue that would cause an empty media label to render when none were active. (#412) 2024-10-31 02:24:33 -07:00
Rubin Bhandari
da1784d486 feat: make music label more dynamically configurable (#389)
* feat: make music lable more dynamically configurable

* fix: move seekbar above controls

* fix: add menu for media

* fix: add menu for media

* fix: add menu for media

* Organize media player code

* fix: revert back controls position

* Delete pnpm-lock.yaml

* Update options.ts

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

* fix: merge changes broken

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-31 02:06:53 -07:00
Rubin Bhandari
8893122006 fix: waybar style volume tooltip (#400)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-31 01:50:50 -07:00
Jas Singh
77d4512c82 Added the ability to define custom icons for the system tray. (#408)
* Added the ability to define custom icons for the system tray.

* Add placeholder icon if icon is not defined.

* Update themes
2024-10-30 21:16:15 -07:00
Jas Singh
776e07b7bc Update bluetooth battery indicator padding and provide option to define when to show battery icon. (#403)
* Update bluetooth battery indicator visuals and behavior.

* Remove log

* Update default battery state to paired.

* Change to connected
2024-10-30 02:34:04 -07:00
Rubin Bhandari
b77f37c145 feat: add some info about connected wifi (#354)
* feat: add some info about connected wifi

* feat: add some info about connected wifi

* fix: convert default label to empty string

* feat: add fallbacks

* feat: add wifi disconnect

* Update modules/menus/network/wifi/WirelessAPs.ts

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

* Update modules/menus/network/wifi/WirelessAPs.ts

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

* Update modules/bar/network/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-29 21:31:23 -07: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
Rubin Bhandari
c247606baa fix: fix spells (#362) 2024-10-23 17:15:28 -07:00
Rubin Bhandari
604f737182 feature: hide notifications count when 0 (#338)
* fix: hide notifications count when 0

* feat: add settings to control earlier behavious

* fix: lints and formatting

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

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

* fix: notifications css

* Update modules/bar/notifications/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-21 01:49:25 -07:00
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
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
d60d3db401 Added the ability to track when submap is enabled or disabled. (#282)
* Added submap custom module.

* Captilazation is muy importante.

* Add border config
2024-09-23 22:29:49 -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
painerp
afb245f8d6 Fixes the window title label option (#272)
* fix window title label option not being respected

* add window title icon and label side effects

* add new line to SideEffects.ts

* fix window title children type
2024-09-20 23:44:54 -07:00
Jas Singh
a8919c395f Fixed volume zero icon bug. (#270) 2024-09-17 18:36:56 -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
Jonas
de50a01e21 support "*" as wildcard layout key (#252)
allows specifing a default layout that applies for all monitors if no
more specific layout is found.
2024-09-14 12:13:49 -07:00
Jas Singh
af51aa838d Added an option to make HyprPanel compatible with Hyprland tearing. (#243)
* Adding an option to make HyprPanel compatible with Hyprland tearing.

* Added bar to Tearing Compatibility checks
2024-09-10 00:58:27 -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
4f009b9978 Fixed an issue with the bar now displaying on startup. (#215) 2024-08-31 20:40:29 -07:00
Jas Singh
f624153eab Added pagination to the notifications menu and a configurable limit to the amount of notifications spawned. (#199)
* Added notification pagination and pagination configuration options. fixes #171

* Added skip to end buttons

* Update theme

* Removed unused theme parts

* Update pager colors

* Theme auto-generator

* Update label color in options for pager.

* Updated themes

* Added option to change footer background for notifications menu.

* Changes to the Displayed Total options now update the menu. Bugfix
2024-08-30 01:32:11 -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
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