Commit Graph

146 Commits

Author SHA1 Message Date
greed
ff29790317 Add more window title (#160)
* `chore` : add more window titles

* Update modules/bar/window_title/index.ts

* Update modules/bar/window_title/index.ts

* `chore` : add more title

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-21 23:46: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
painerp
1e6f1570b1 Fixes a OSD bug when un-/muting and adds a toggle to display volume as 0 when muting (#151)
* added muted_zero option to only display 0 volume in osd when enabled

* Fix OSD brightness persisting overflow class

* Update modules/osd/bar/index.ts

* Apply suggestions from code review

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-19 20:57:23 -07:00
greed
6bb71eadf5 chore : add more window titles (#147)
* `chore` : add more window titles

* Update modules/bar/window_title/index.ts

* Update modules/bar/window_title/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-19 20:55:34 -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
a1beac4c05 Added the ability to change the layer of the bar (#146) 2024-08-17 13:13:41 -07:00
matavach
b3b397d479 Workspace bar changes (#129)
* workspace mask + 'color only' indicator

* edits

* edits - 2

* Update modules/bar/workspaces/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-16 21:52:07 -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
orangc
250443de63 Make media label togglable (#122)
* make it possible to truncate media title to 0

* undo oopsie

* apply @painerp change

* make the label togglable

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

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

* Update modules/bar/media/index.ts

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

* Update modules/bar/media/index.ts

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

* Update modules/bar/media/index.ts

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-08-14 18:18:13 -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
79bf05d9c9 Hyprland scaling updates are now properly reflected without having to restart ags. (#113) 2024-08-11 20:38:50 -07:00
Jas Singh
c9e3a29edc Workspaces are now handled properly for scrolling when there are no rules defined for them. (#112)
* Workspaces are now handled properly for scrolling when there are no rules defined for them.

* Discard spaces that were added by formatting... or something?

* Another whitespace revert
2024-08-11 20:13:31 -07:00
Jas Singh
0d7bd7dbc2 Gracefully handle the scenario where workspace rules for a monitor are undefined. (#108)
* Gracefully handle the scenario where workspace rules for a monitor are undefined.

* Added type definitions to function outputs.
2024-08-10 22:43:41 -07:00
matavach
a3178678dd quick fix to regex, and added trunc indicator (#104) 2024-08-10 21:37:07 -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
f3d287ad59 Fixed the media scroller to work on the active player. (#101)
* Fixed the media scroller to work on the active player.

* Check existence of player first.
2024-08-10 00:45:12 -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
matavach
407c8aa304 added options for bar media module (#88)
* added options for bar media module

* added reviewed changes

* cleaned up
2024-08-07 22:19:14 -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
matavach
126f2b7535 added charging detection to battery icon (#53) 2024-07-31 21:20:34 -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
0787e00336 Fixes #40 (#41) 2024-07-30 01:17:48 -07:00
Jas Singh
49a25e8741 Mouse events are released after the OSD is hidden. (#39)
* Fixes #38 - Fixed an issue that would cause the OSD to block mouse events even when invisible.

* Replace Overlay with a temporary workaround since Overlay can't be resized.

* Fix visible toggle being stuck on initial retoggle.
2024-07-29 23:03:17 -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
4a8b739d04 Closes #20 - Battery percentage is now appropriately rounded instead of showing decimals. 2024-07-28 11:44:31 -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
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
d8e58546ad Added configuration options for notifications. 2024-07-27 01:04:07 -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
4234680ad2 Fixed wifi name spacing 2024-07-25 01:41:08 -07:00