Commit Graph

75 Commits

Author SHA1 Message Date
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
dbd932941b Added the ability to define button, progress bar, tooltip and popover radius. (#448)
* Added the ability to define button, progress bar, tooltip and popover radius.

* Border updates

* Fix notification scaling
2024-11-06 21:47:22 -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
6250c2b3be Added the ability to scale a popover. (#443)
* Added the ability to scale a popover.

* Removed redundant code
2024-11-05 20:59:29 -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
14d5e4c270 Added the ability to scale tooltips in Configuration > Scaling. (#411)
* Updated readme for a Kofi donation link to Aylur.

* Added tooltip scaling option.
2024-10-31 01:45:52 -07:00
Jas Singh
c2e46f098e Fixed an issue where the correct global colors to the icon weren't being applied in split variant. (#409)
* Fix global icon coloring

* Fix themes

* Update custom modules to use global colors if enabled

* Fix icons

* Fix custom module icon color
2024-10-31 00:49:05 -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
0bdaf461f6 feat: show battery on bluetooth device list (#352)
* feat: show battery on bluetooth device list

* feat: show battery on bluetooth device list

* fix: handle case when battery is not defined

* fix: handle case when battery is not defined

* feat: add bluetooth menu

* feat: add bluetooth menu

* fix: separate icon and percentage

* fix: group battery stuffs

* Update options.ts

* Update modules/menus/bluetooth/devices/devicelist.ts

* Update modules/menus/bluetooth/devices/devicelist.ts

* Update modules/menus/bluetooth/devices/devicelist.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-29 20:59:45 -07:00
Rubin Bhandari
bf6fc3dbea feat: add switch and slider radius (#367)
* feat: add switch radius

* feat: add slider radius

* Update slider radii

* Update widget/settings/pages/theme/menus/index.ts

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

* Update widget/settings/pages/theme/menus/index.ts

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

* Update widget/settings/pages/theme/menus/index.ts

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

* Update widget/settings/pages/theme/menus/index.ts

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-26 00:05:42 -07:00
Jas Singh
2d1e230405 Updated the margins for the dashboard menu to auto-adjust based on configuration. (#369) 2024-10-25 01:40:18 -07:00
Rubin Bhandari
16ec78f30b fix: make image bigger on notification card (#355)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-22 19:18:32 -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
Rubin Bhandari
ca664e3e78 feat: add uptime on power profile (#349)
* feat: add uptime on power profile

* feat: add uptime on power profile

* feat: add uptime on power profile

* feat: add uptime on power profile

* Update modules/menus/energy/profiles/index.ts

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

* Update modules/menus/energy/profiles/index.ts

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

* Update modules/menus/energy/profiles/index.ts

* Update modules/menus/energy/profiles/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-21 01:44:36 -07:00
Rubin Bhandari
2126cf0657 feat: add wifi toggle slider (#348)
* feat: add wifi toggle slider

* Added styling options for the network switch

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-21 01:30:53 -07:00
Jas Singh
2db31f497d Hover opacity now properly applies to bar buttons and custom modules respect opacity setting. (#300) 2024-10-04 18:34:03 -07:00
Jonas
fe53b3ebf1 calendar menu: make weather optional (#253)
* calendar menu: make weather optional

adds a setting to enable or disable the weather widget in the calendar
menu.

* Fix bottom margin of last child card.

* Fix calendar dropdown merge linting and formatting errors.

* Settings dialog formatting error fix.

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-02 20:42:04 -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
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
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
4721b4fbf9 HyprPanel now handles notification removal itself. (#242) 2024-09-09 23:03:01 -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
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
bd573ec4e7 Updated weather and power button icons to use text-icons rather than system icons. (#232)
* Replace weather and power icons with nerdfont icons.

* Update power icons for power dropdown menu.
2024-09-07 13:24:30 -07:00
Hristo Karamanliev
024986d7be indicate that screen recording is active by changing button color (#218) 2024-09-03 01:56:25 -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
44fddbcc14 Made the profile image avatar in the dashboard configurable (size, radius). (#212) 2024-08-31 12:48:32 -07:00
Jas Singh
e050e2ff2d Shortcut buttons in the dashboard automatically hide and scale. (#210) 2024-08-31 02:17:05 -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
f80b3e4ef6 Fixed an issue that would occur when providing px values for bar margin_top. (#206)
* Fixed an issue that would occur when providing px values for bar margin_top.

* Adjust margin
2024-08-29 22:07:01 -07:00
Jas Singh
b990e9c34f Added the ability to configure the notification radius (#182) 2024-08-25 02:23:52 -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
bc08692317 Added the split variant to all the existing themes. (#179)
* Add split variant themes

* Added all split themes and updated non split themes.
2024-08-24 19:00:05 -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
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
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
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
Jas Singh
0bcbe05a0b Added the ability to apply custom opacity to all elements. (#140)
* Added the ability to apply custom opacity to all elements.

* Apply menu opacity to settings menu
2024-08-16 22:50:05 -07:00
Jas Singh
f3a690026b Fix coloring issues and added an option to configure media menu border. (#135)
* Fix coloring issues and added an option to configure media menu border.

* Updated and added options to style radio and check butto ns.

* Update themes to reflect the changes
2024-08-15 23:09:18 -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
83c0941bee Added the ability to select workspace underline color and highlight padding. (#130) 2024-08-14 21:36:57 -07:00
Jas Singh
ea2ebc5c4b Fixed a deadzone caused by notifications. (#119) 2024-08-12 22:46:37 -07:00
Jas Singh
b23f1a32cb Fixed styling issues for various elements that weren't being applied via settings. (#118)
* Popups are now styles properly and can be themed. closes #115

* Added the ability to style media menu card color and transparency. Made confirmation dialogue optional.

* Increase radius

* Move actions inside the function to reflect updated values.
2024-08-12 21:38:27 -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