Commit Graph

141 Commits

Author SHA1 Message Date
Rubin Bhandari
b88644833d 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
2024-11-04 22:47:26 -08:00
Rubin Bhandari
b5e91fa2dc fix: markup shown as tags from some browsers (#404)
* fix: markup shown as tags from some browsers

* fix: notification body overflow

* Revert "fix: notification body overflow"

This reverts commit 58c0fe4758cbfcf1ca0fbf6e9c6a66322aa703cf.

* fix: remove options
2024-11-04 21:30:57 -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
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
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
a64fd64ac0 feat: raise maximum volume (#384)
* feat: raise maximum volume

* feat: raise maximum volume

* feat: raise maximum volume

* feat: add volume settings menu

* feat: move binding

* Update modules/menus/audio/active/SelectedPlayback.ts

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-29 20:32:31 -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
Jas Singh
25753e5f17 Fix foundPlayer not found crash. (#383) 2024-10-27 08:18:44 -07:00
Jas Singh
14654998ea Clean up media module logic and code. (#380)
* Organized media menu code

* More consolidation
2024-10-27 00:17:51 -07:00
Rubin Bhandari
37ab13a829 fix: dont hardcode file manager and make use of $TERM (#361)
* feat: make executables dynamic

* feat: make executables dynamic

* Update modules/menus/dashboard/stats/index.ts

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

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

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

* Update options.ts

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

* Update modules/menus/dashboard/stats/index.ts

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

* fix: var to term

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-25 23:12:33 -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
c247606baa fix: fix spells (#362) 2024-10-23 17:15:28 -07:00
Rubin Bhandari
3bc8c0d2e1 feature: remove delay when clearing all notifications (#342)
* feat: add setting option to control delay

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

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

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-21 01:50:49 -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
Rubin Bhandari
27d2652e8e feat: add option to toggle each section on dashboard (#344)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-20 15:19:30 -07:00
Rubin Bhandari
7a2d91744f fix: hide pager when only first page (#335)
* fix: hide pager when only first page

* fix: lints and formatting

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-20 13:39:16 -07:00
Rubin Bhandari
5b01d3e60e feat: add option to hide seconds on calendar (#343) 2024-10-20 13:07:29 -07:00
Ignacio Dominguez
a366224786 Add disable option for directories section in dashboard (#319)
* Add disable option for directories section in dashboard

* Fix linting and typo

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-10-13 02:42:12 -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
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
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
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
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
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
Hristo Karamanliev
88bdcbe806 Fix record screen selection popup not displaying (#217)
* fix record screen selection popup not displaying

* fix hard coded file manager that opens the dir

* fix hard coded file manger in snapshot.sh
2024-09-03 01:52:30 -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
5db6eb336e 24hr time switch set in the Clock Menu now effects notification time also. (#184) 2024-08-25 03:48:07 -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
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
84e85b168e Implement a CLI command to change themes. (#136)
* Implement cli based theme applier.

* Remove references to old globalMousePos

* Use direct file path instead.
2024-08-16 00:49:24 -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
79bf05d9c9 Hyprland scaling updates are now properly reflected without having to restart ags. (#113) 2024-08-11 20:38:50 -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
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
Jas Singh
d743c98a6a Fix gdkpixbuf import. (#78) 2024-08-04 13:54:39 -07:00
Jas Singh
e51be0363f Fix stacking interval - resolves: #76 (#77) 2024-08-04 13:22:18 -07:00
matavach
b6d573ac2b added null check for weather key (#71)
* added null check for weather key

* Update index.ts

removed an unneeded import

* Update index.ts

removed more junk.

I need to be better about cleaning up my code before commiting it 😅

* Update index.ts

okay last one

* removed visibility change, adjusted null check to still display default values

* Formatting

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-04 12:19:40 -07:00