Commit Graph

118 Commits

Author SHA1 Message Date
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
matavach
a6d6a34ea7 validate profile image and create fallback (#67)
* validate profile image and create fallback

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

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

* Update modules/menus/dashboard/profile/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/profile/index.ts

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

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-03 22:01:38 -07:00
Jas Singh
308e22b02f Added an osd for microphone inputs. (#60) 2024-08-02 01:22:20 -07:00
Jas Singh
c238a72963 Fixes #46 - Battery and Volume percentage values are now rounded to the nearest whole rather than down. (#52) 2024-07-31 01:32:40 -07:00
Jas Singh
089395207c Fixes #28 & #32 - Hyprland's auto-scaling is now taken into account. (#49) 2024-07-30 22:40:08 -07:00
Jas Singh
aae22bef5e Network module rework (#48)
* Fixes #45 - Reworked the network module to be more responsive and added ssid truncation configuration.

* Added truncation options in the defaults.
2024-07-30 21:51:36 -07:00
Jas Singh
26f61ed513 HyprPanel now checks for the gpustat dependency and provides a notification if missing rather than crash. (#43)
Solves #42
2024-07-30 01:45:55 -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
0ee58c69c3 Added an option to opt into tracking GPU stats in the dashboard. (#10)
* Added an option to opt in to GPU usage.

* Catch and log error if exists during GPU stat monitoring.

* Removed unimplemented category header for System Tray in options

* Update the readme to indicate this change.
2024-07-27 14:15:56 -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
40a24b3425 Added a 'Connected' indicator if one or more bluetooth devices are connected. 2024-07-27 02:41:57 -07:00
Jas Singh
cd0a14c146 Added location from master to current branch. 2024-07-26 23:17:36 -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
7fddcf0299 Implemented the ability to specify the terminal to launch btop with. 2024-07-24 22:44:35 -07:00
Jas Singh
7a5093a111 Fixing missing styling variables 2024-07-24 19:04:22 -07:00
Jas Singh
21393c122a Implement layout options 2024-07-24 09:46:38 -07:00
Jas Singh
28fbb8e3b4 Implement Setting Dialog - Work in Progress 2024-07-21 16:20:34 -07:00
Jas Singh
ab721edbd2 Finish all options sets 2024-07-20 22:59:25 -07:00
Jas Singh
a480400359 Added more configuration options 2024-07-20 16:21:52 -07:00
Jas Singh
29abe55008 Finish all theming options 2024-07-20 00:32:54 -07:00
Jas Singh
1e3a23439d Added customizable styling for network, bluetooth, battery and audio menu... and fixed window position based on scale. 2024-07-18 00:26:29 -07:00
Jas Singh
f5aa300512 Added more customization options 2024-07-16 00:11:55 -07:00
Jas Singh
7a2fdf8647 Centralize menu button coordinate logic and replace popupwindows with dropdownmenu. 2024-07-14 15:13:09 -07:00