Commit Graph

412 Commits

Author SHA1 Message Date
Jas Singh
48faf52e59 Fixed the auto-hide functionality for the media bar module. (#588) 2024-12-21 21:12:12 -08:00
Jas Singh
440d7ae9db Make the output of the matugen command quiet in order to only output the colors. (#585) 2024-12-21 20:05:42 -08:00
Evan Fiddes
7111830e3c Adds options for bar workspace button shape (#582)
* Add option for default workspace indicator radius

Enabling this option allows for the changing of the workspaces indicator
shape into a cornered rectangular/square shape.

This radius value was previously hard-coded for a full round indicator
shape. This change exposes an option in the `settings-dialog` under
Configuration > Bar > Workspaces > Indicator Radius

default value: `1.9rem * 0.6`

{
  "theme.bar.buttons.workspaces.radius": "1.9rem * 0.6"
}

* Adds options for workspace indicator height, width, and active_width

This adds some additional options to allow for further customization to
the default workspace indicators.

Nests the radius from my previous commit into an indicator scoped option:

```ts
theme: {
  bar: {
    workspaces: {
      indicator: {
        radius: opt('1.9rem * 0.6'),
        height: opt('4em'),
        width: opt('4em'),
        active_width: opt('12em'),
      }
    }
  }
}
```

* Apply suggestions from code review

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-12-21 15:42:03 -08:00
Jas Singh
3356abc776 Fix: OSDs now follow the active monitor appropriately. (#584) 2024-12-21 15:26:48 -08:00
Jas Singh
da0299f06b Log undefined menu models and action groups. Fix null errors for workspaces and update array property accessors for services. (#583)
* Handle null values for actionGroup.

* Add logs

* more logs

* Fix property accessors and workspace null errors.
2024-12-21 14:53:26 -08:00
davfsa
006e9543f0 Properly implement low battery notification service (#577)
* Properly implement low battery notification service

* Apply suggestions from code review

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-12-21 12:11:42 -08:00
Evan Fiddes
421ffe2400 Fix: option mapping for bluetooth bar module label, bar.bluetooth.label: boolean (#579)
Was previously was mapped to bar.volume.label incorrectly

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-12-21 11:42:23 -08:00
davfsa
280413c2e4 Fix weather disable not working (#576) 2024-12-21 11:37:10 -08:00
Jas Singh
49c21c069d Fixed an issue that would render the OSD improperly in vertical mode. (#572) 2024-12-21 03:27:37 -08:00
Jas Singh
551fccaaf2 Use property getter method instead of directly accessing values for clients. (#569) 2024-12-21 00:24:48 -08:00
Jas Singh
3be15068c0 fix mpris service references (#568) 2024-12-20 23:13:40 -08:00
Jas Singh
e4a5e8060e Readme (#567)
* Update readme.

* updates

* Update and fix startup issues.
2024-12-20 22:40:41 -08:00
Jas Singh
0101f242e6 Fix service based variables. (#565) 2024-12-20 21:17:06 -08:00
Jas Singh
49288718cb Set fallback value to monitor list. (#564) 2024-12-20 20:27:50 -08:00
Jas Singh
8687c38632 Mpris fix (#563) 2024-12-20 20:10:41 -08:00
Jas Singh
c90a182dd8 Make config directory on launch. (#562) 2024-12-20 19:12:47 -08:00
Jas Singh
2ffd602910 Upgrade to Agsv2 + Astal (#533)
* migrate to astal

* Reorganize project structure.

* progress

* Migrate Dashboard and Window Title modules.

* Migrate clock and notification bar modules.

* Remove unused code

* Media menu

* Rework network and volume modules

* Finish custom modules.

* Migrate battery bar module.

* Update battery module and organize helpers.

* Migrate workspace module.

* Wrap up bar modules.

* Checkpoint before I inevitbly blow something up.

* Updates

* Fix event propagation logic.

* Type fixes

* More type fixes

* Fix padding for event boxes.

* Migrate volume menu and refactor scroll event handlers.

* network module WIP

* Migrate network service.

* Migrate bluetooth menu

* Updates

* Migrate notifications

* Update scrolling behavior for custom modules.

* Improve popup notifications and add timer functionality.

* Migration notifications menu header/controls.

* Migrate notifications menu and consolidate notifications menu code.

* Migrate power menu.

* Dashboard progress

* Migrate dashboard

* Migrate media menu.

* Reduce media menu nesting.

* Finish updating media menu bindings to navigate active player.

* Migrate battery menu

* Consolidate code

* Migrate calendar menu

* Fix workspace logic to update on client add/change/remove and consolidate code.

* Migrate osd

* Consolidate hyprland service connections.

* Implement startup dropdown menu position allocation.

* Migrate settings menu (WIP)

* Settings dialo menu fixes

* Finish Dashboard menu

* Type updates

* update submoldule for types

* update github ci

* ci

* Submodule update

* Ci updates

* Remove type checking for now.

* ci fix

* Fix a bunch of stuff, losing track... need rest. Brb coffee

* Validate dropdown menu before render.

* Consolidate code and add auto-hide functionality.

* Improve auto-hide behavior.

* Consolidate audio menu code

* Organize bluetooth code

* Improve active player logic

* Properly dismiss a notification on action button resolution.

* Implement CLI command engine and migrate CLI commands.

* Handle variable disposal

* Bar component fixes and add hyprland startup rules.

* Handle potentially null bindings network and bluetooth bindings.

* Handle potentially null wired adapter.

* Fix GPU stats

* Handle poller for GPU

* Fix gpu bar logic.

* Clean up logic for stat bars.

* Handle wifi and wired bar icon bindings.

* Fix battery percentages

* Fix switch behavior

* Wifi staging fixes

* Reduce redundant hyprland service calls.

* Code cleanup

* Document the option code and reduce redundant calls to optimize performance.

* Remove outdated comment.

* Add JSDocs

* Add meson to build hyprpanel

* Consistency updates

* Organize commands

* Fix images not showing up on notifications.

* Remove todo

* Move hyprpanel configuration to the ~/.config/hyprpanel directory and add utility commands.

* Handle SRC directory for the bundled/built hyprpanel.

* Add namespaces to all windows

* Migrate systray

* systray updates

* Update meson to include ts, tsx and scss files.

* Remove log from meson

* Fix file choose path and make it float.

* Added a command to check the dependency status

* Update dep names.

* Get scale directly from env

* Add todo
2024-12-20 18:10:10 -08:00
orangc
955eed6c60 Merge pull request #543 from Jas-SinghFSU/nix/fix
fix(nix): this was supposed to be referenced here
2024-12-01 17:07:11 +03:00
orangci
318532b6ef fix(nix): this was supposed to be referenced here 2024-12-01 17:05:37 +03:00
orangc
48d631e083 Merge pull request #542 from Jas-SinghFSU/nix/update
chore(nix): update flake.lock
2024-11-30 17:10:38 +03:00
orangci
3b34d339c9 chore(nix): update flake.lock 2024-11-30 17:08:16 +03:00
orangc
56c9416644 fix(nix): Replace deprecated gnome.gnome-bluetooth
Fix: Replace deprecated 'gnome.gnome-bluetooth'
2024-11-28 09:47:12 +03:00
paradoxical-dev
31e41953cd Fix: Replace deprecated 'gnome.gnome-bluetooth' with 'pkgs.gnome-bluetooth' 2024-11-27 00:43:33 -06:00
Jas Singh
f4834ec308 Update README.md (#530) 2024-11-23 11:15:16 -08:00
Jas Singh
1433700887 Readme maintenance update. (#529) 2024-11-23 11:11:45 -08:00
Jas Singh
a4f5fb5917 Refactor Polling Mechanism: Implement Class-Based Poller with Start/Stop Control (#528)
* custom module updates to class based.

* Finish poller logic.

* Use composition for pollers

* Rename poller

* Handle recorder polling.

* Fix quotes in bash command

* Remove logs
2024-11-23 03:55:00 -08:00
Jas Singh
c10c9d0e93 Reduce max char length of weather status. (#525) 2024-11-19 21:21:34 -08:00
Jas Singh
0555a84b30 Added and updated themes for hypridle module. (#522)
* Update idle icon size

* Theming updates for hypridle
2024-11-17 14:10:15 -08:00
Jas Singh
ef761f2dcf Added a CLI command to update layout. (#521) 2024-11-17 12:37:38 -08:00
Rubin Bhandari
ac794dccb0 fix: add battery notif (#441)
* fix: waybar style battery msgs

* Revert "fix: waybar style battery msgs"

This reverts commit 924d998ddda6cb4becc87fabfd7958a0f7ecc773.

* fix: revert changes

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-17 12:10:16 -08:00
Rubin Bhandari
0028b9484e feat: show temperature on tooltip (#490)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-17 11:41:04 -08:00
Jas Singh
5cce65f88e Added theming options for the Hypridle module and updated the default icon. (#518) 2024-11-17 11:35:30 -08:00
Rubin Bhandari
4b041bcf1f feat: idle inhibit (#502)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-17 11:29:36 -08:00
orangc
1c287a92bd Merge pull request #513 from Jas-SinghFSU/nix/update-matugen
chore(nix): update nixpkgs input to get the fixed version of matugen
2024-11-17 13:07:58 +03:00
orangci
14b74e407f chore(nix): update nixpkgs input to get the fixed version of matugen 2024-11-17 13:06:11 +03:00
Jas Singh
ec648a6352 Fixed an issue where a curly brace would display in the window title when custom titles were enabled. (#512) 2024-11-16 08:35:58 -08:00
Jas Singh
0c6a19ab89 Fixed an issue that would cause the volume module to expand to the whole bar. (#508) 2024-11-15 01:59:34 -08:00
Jas Singh
33d756a9c1 Added a script to allow backwards compatibility with ags v1. (#501) 2024-11-14 02:23:09 -08:00
Jas Singh
e71a2dfe2d Add hyprsunset as optional dependency. (#486) 2024-11-12 03:46:21 -08:00
Jas Singh
6cab0ff4b7 Added the hyprsunset module (requires hyprland v0.45.0) (#485)
* add sunset module

* Implement hyprsunset module.

* Update themes

* Undo vivids

* Fix vivids
2024-11-12 03:35:27 -08:00
Jas Singh
a7855baf13 Added the ability to update custom modules after a command is executed. (#476) 2024-11-10 12:32:16 -08:00
Jas Singh
c9799a88b5 Enabling global colors no longer overrides workspaces colors. (#477) 2024-11-10 12:28:02 -08:00
orangc
4cadb3e6bf Merge pull request #472 from Jas-SinghFSU/nix/fix
fix(nix): themes dir was not copied to $out
2024-11-10 10:27:17 +03:00
orangci
81ca12f128 fix(nix): themes dir was not copied to $out 2024-11-10 10:22:33 +03:00
Jas Singh
fabec34557 Added ellipses to truncated media label if the media label is larger than the truncation size. (#471) 2024-11-09 17:18:29 -08:00
Jas Singh
7bad1639cf The theme and config imports now use the defined restart command. (#470) 2024-11-09 16:54:49 -08:00
Jas Singh
6120777b19 Bar now properly hides if all sections are empty. (#467) 2024-11-09 13:09:48 -08:00
Jas Singh
c150bc189d Fixed an issue that would cause the OSD to create a deadzone if disabled. (#466) 2024-11-09 11:55:30 -08:00
Jas Singh
51581b198f Implemented a callable function that sets the wallpaper. (#463)
* Implemented a callable function that sets the wallpaper.

* Remove log
2024-11-08 20:56:47 -08:00
Jas Singh
2e64f7738f Added the ability to configure the inner content border multiplier of bar buttons. (#462) 2024-11-08 20:00:45 -08:00