Commit Graph

65 Commits

Author SHA1 Message Date
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
Chi
624b3e2ad0 Added a Nix Flake and support for running from the Nix Store (#47)
* Added a Nix Flake and support for running from the Nix Store

* Removed variable imports since they're brough in at the top level.

* Removed redundan imports and remove unused files (moved to temp).

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-04 00:11:34 -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
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
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
d65c5836ef Fix menu positions for floating bar. 2024-07-28 02:38:35 -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
40a24b3425 Added a 'Connected' indicator if one or more bluetooth devices are connected. 2024-07-27 02:41:57 -07:00