Commit Graph

40 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
Jas Singh
a7855baf13 Added the ability to update custom modules after a command is executed. (#476) 2024-11-10 12:32:16 -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
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
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
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
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
86ff27fd3e Added the ability to enable dynamic network icons for netstat module. (#376) 2024-10-26 17:21:27 -07:00
Jas Singh
fcdba86fec Updated the logic for Stat/Metric tracking in the dashboard more robust. (#365)
* Updated the logic for Stat/Metric tracking in the dashboard more robust.

* Show used/total for stats.

* Added the ability to configure the update interval of metrics in the dashboard.
2024-10-24 02:26:39 -07:00
Rubin Bhandari
694711e0d4 feat: use .face.icon (#360)
* feat: use .face.icon

* feat: use .face.icon

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-23 17:38:26 -07:00
Rubin Bhandari
7c06b3e0f0 feat: allow custom icons on custom modules (#351)
* feat: allow custom icons on custom modules

* Update options.ts

* Update customModules/config.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-22 00:54:15 -07:00
Jas Singh
2e66d801fd Hyprpanel now accurately identifies the submap on startup. (#317)
* Hyprpanel now accurately identifies the submap on startup.

* Update default submap logic.

* Separate logic from component
2024-10-08 21:42:01 -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
b47864d8e1 Added the ability to assign shortcuts to all bar modules. (#278) 2024-09-21 16:47:59 -07:00
Jas Singh
6be9030ac5 Added configurable scaling priorities in options. (#277) 2024-09-21 00:43:53 -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
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
Jas Singh
bb3b3dfdfb Added strict type checking to the project. (#236)
* Implement strict typing (WIP).

* changes

* Finish type checks

* Fix notification icon, matugen settings and update tsconfig.

* OSD Styling updates and added the ability to configure OSD duration.
2024-09-09 00:44:51 -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
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
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
6c8615c278 Added an option to define custom window title mappings. (#149) 2024-08-18 02:07:30 -07:00
Jas Singh
0ba89aae4a Added the ability to export the current color config/theme. (#120)
* Added the ability to export the current color config/theme.

* Added the ability to import a theme.

* Added the ability to import a config only.

* Created preset themes for popular palettes.

* Restart AGS once settings/theme is imported.

* Added tokyo night theme

* Added rose pine themes.

* Move themes

* Organize files
2024-08-14 23:30:36 -07:00
Jas Singh
0898c98f9c Monitor identification update. (#107)
* Add proper gtk to hyprland monitor mapping

* Updated the monitor identification logic to sync GDK monitor IDs properly with hyprland monitor IDs.

* Remove console statement.

* Revert this to how it was before since its exactly the same thing.
2024-08-10 18:34:55 -07:00
matavach
48a5bedb37 Notification monitors (#81)
* added monitor options for notifications

* added monitor options for notifications

* ..

* added changes

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

* Added the ability for left/right anchors for notifications and updated types to reflect that.

* merge (not sure if I did this correct)

* Implemented Wallpaper Selector and Matugen's Wallpaper based auto-theming. (#73)

* Implement matugen - WIP

* Added matugen

* Add types and cleanup code

* Matugen implementation updates and added more options such as scheme and contrast.

* Code cleanup and matugen settings renamed for clarity.

* Makon maroon a primary matugen color.

* Updates to handle variations of matugen colors

* Finalizing matugen and wrapping up variations.

* Minor styling updates of the settings dialog.

* Do a swww dependency check.

* Dependency logic update

* Switch shouldn't double trigger notifications now when checking dependency.

* Logic was inverted

* Add matugen to dependency checker.

* Fixed dependency checking conditional

* Update dependency list in readme and check for matugen before doing matugen operations

* Styling fixes

* OSD Fix

* Remove unused code from wallpaper service.

* Color fixes for matugen.

* Nix updates for new dependencies

* Change default wallpaper to empty.

* Added custom notification service for startup, cleaned up code and updated readme.

* added options for bar media module (#88)

* added options for bar media module

* added reviewed changes

* cleaned up

* Made the media player more responsive and accurate. (#95)

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-09 17:33:30 -07:00
Jas Singh
87d661021d Made the media player more responsive and accurate. (#95) 2024-08-07 23:25:28 -07:00
Jas Singh
f5b75edbed Implemented Wallpaper Selector and Matugen's Wallpaper based auto-theming. (#73)
* Implement matugen - WIP

* Added matugen

* Add types and cleanup code

* Matugen implementation updates and added more options such as scheme and contrast.

* Code cleanup and matugen settings renamed for clarity.

* Makon maroon a primary matugen color.

* Updates to handle variations of matugen colors

* Finalizing matugen and wrapping up variations.

* Minor styling updates of the settings dialog.

* Do a swww dependency check.

* Dependency logic update

* Switch shouldn't double trigger notifications now when checking dependency.

* Logic was inverted

* Add matugen to dependency checker.

* Fixed dependency checking conditional

* Update dependency list in readme and check for matugen before doing matugen operations

* Styling fixes

* OSD Fix

* Remove unused code from wallpaper service.

* Color fixes for matugen.

* Nix updates for new dependencies

* Change default wallpaper to empty.

* Added custom notification service for startup, cleaned up code and updated readme.
2024-08-07 21:43:31 -07:00
matavach
1f7c5a70ca added 'increment' option for Inputter (#64)
* added 'increment' option for Inputter

* added 'quick edit: added max value for font-weight

* forgot to include type change
2024-08-02 19:54:25 -07:00
Jas Singh
9ccc624712 Added on-screen-displays to indicate volume and brightness changes. (#34)
* Resolves #13 - Added on-screen-displays to indicate volume and brightness changes.

* <3 Aylur

* Update brightness logic for osd

* Update brightness labels

* Fixed typos in the settings menu component.

* Added options to toggle OSD and change its orientation.
2024-07-29 02:01:38 -07:00
Jas Singh
42ccd573be Updated the default weather template and the weather logic to handle errors better 2024-07-27 13:07:25 -07:00
Jas Singh
77c79a2d99 Updated the settings dialog button styling. 2024-07-27 01:04:07 -07:00
Jas Singh
b511d76e11 Convert all remaining files to typescript. 2024-07-26 23:11:33 -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
11785d1a5d Implemented config changing functionality 2024-07-15 01:37:41 -07:00
Jas Singh
abe491e6d0 Begin work on configuration menu 2024-07-14 18:44:49 -07:00