Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
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
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
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
40a24b3425 Added a 'Connected' indicator if one or more bluetooth devices are connected. 2024-07-27 02:41:57 -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
Jas Singh
b289c0b271 Fixed the bug that would cause the wifi name to not hide despite the option being selected. 2024-07-25 01:39:16 -07:00
Jas Singh
aedb112a5c Fixed bug that would cause icon based workspaces indicator to not update properly. 2024-07-25 01:34:53 -07:00
Jas Singh
21393c122a Implement layout options 2024-07-24 09:46:38 -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
c67b264a66 Finish calendar styling... 2024-07-18 01:09:44 -07:00
Jas Singh
8015294183 Fix bug that would error when fetching workspace hyprland rules on single monitors. 2024-07-18 00:30:15 -07:00
Jas Singh
50eeb4275d Implement styling options for all the bar components (not menus) through options variables. 2024-07-17 01:44:50 -07:00
Jas Singh
3ff7b1fd9b Revert readme 2024-07-15 20:44:00 -07:00
Jas Singh
11785d1a5d Implemented config changing functionality 2024-07-15 01:37:41 -07:00
Jas Singh
abe491e6d0 Begin work on configuration menu 2024-07-14 18:44:49 -07:00
Jas Singh
7a2fdf8647 Centralize menu button coordinate logic and replace popupwindows with dropdownmenu. 2024-07-14 15:13:09 -07:00
Jas Singh
11986dd5a6 Implemented screen recording functionality for record button in dashboard. 2024-07-08 02:54:38 -07:00
Jas-SinghFSU
e6c00e0532 Fix network menu to remove duplicate ssids 2024-07-06 00:31:42 -07:00
Jas Singh
ce54b7a6d8 Implement dashboard skeleton 2024-07-03 16:56:59 -07:00
Jas Singh
2a0be05a2b Add timestamp to notifications and add styling to menu button 2024-07-02 23:58:49 -07:00
Jas Singh
fee85b255c Rename bar.js file to index.js and fix styling for switches and media progress bar. 2024-07-02 01:57:17 -07:00
Jas-SinghFSU
63b5302fe0 Implemented battery, power profile and brightness all in one menu 2024-07-01 23:26:45 -07:00
Jas-SinghFSU
d1facf15aa Merge with master 2024-07-01 19:51:10 -07:00
Jas-SinghFSU
135cb20be4 Add battery icon back 2024-07-01 19:50:16 -07:00
Jas Singh
98cb6c26f0 Fix notification styling 2024-07-01 19:43:28 -07:00
Jas Singh
9a2a9d4ec5 Update the media menu - move time stamp to tooltip 2024-06-28 01:20:16 -07:00
Jas Singh
4ff2392c48 Added basic Calendar menu (WIP) 2024-06-26 02:00:53 -07:00
Jas Singh
2b8eb9144d Update notifications control area style and changed notifs icon position on bar. 2024-06-25 01:39:59 -07:00
Jas Singh
c1d7fc4f95 Finish notifications menu 2024-06-25 01:05:31 -07:00
Jas Singh
f162af8a41 Start work on notifications menu 2024-06-24 00:43:54 -07:00
Jas Singh
f03443a252 Update font and power icon. 2024-06-23 21:46:18 -07:00
Jas Singh
42b8948e48 Fixed lingering menus when switching screens and fixed hour timer for media menu. 2024-06-23 20:57:52 -07:00