Commit Graph

40 Commits

Author SHA1 Message Date
Jas Singh
b6b58edf76 Fix: Improved GDK to Hyprland monitor mapping logic. (#867)
* Feat: Improved GDK<->Hyprland monitor mapping logic.

* Update src/components/bar/utils/GdkMonitorMapper.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix type issue.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-28 01:52:25 -07:00
Mara
c147f154a4 Feat: Add optional extended tooltip for updates module (#866)
* added optional extended tooltip for updates module

* Apply suggestions from code review

Linter fixes

* Update scripts/checkUpdates.sh

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

* Update scripts/checkUpdates.sh

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

---------

Co-authored-by: Mara <mara.dawn69@gmail.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-27 23:19:55 -07:00
Jas Singh
7b5c339e93 Fix: styling side-effects are no longer visible on monitors with no bars. (#864) 2025-03-24 22:46:58 -07:00
Jas Singh
a4e9a99f82 Fix: Added a fallback workspace icon for applications. (#845) 2025-03-17 20:54:38 -07:00
davfsa
7fe89ac5eb Add up-to-date default workspace labels (#709)
* Add up-to-date workspace labels

* Use iterators instead of creating copies of the mappings

* Re-add guard clause

Signed-off-by: davfsa <davfsa@gmail.com>

* merge origin

* Fix duplicate icons and simplify implementation.

---------

Signed-off-by: davfsa <davfsa@gmail.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-17 19:05:14 -07:00
davfsa
14b17c0667 Improve network bar (#813)
* Improve network bar

- Improve consistency of status updates by using `state` and
`connectivity`
- Add 'Off' text based on WiFi adapter status

* Update src/components/bar/modules/network/index.tsx

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-16 23:15:23 -07:00
Alejandro
28d2884b2f Add Zen browser to window titles and media. (#790)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-01 13:00:48 -08:00
Jas Singh
f69a0841a8 Create Microphone bar module. (#801)
* Implement microphone module.

* Add catppuccin themes

* Add rest of themes

* Fix comment

* Add nix settings
2025-02-27 01:24:07 -08:00
davfsa
f8bbd0af80 Fix undefined tooltip text (#780) 2025-02-18 09:44:43 -08:00
Jas Singh
3698bfe2b3 Replaced the underlying structure of Hypridle inhibitor to the Astal Idle Inhibitor module. (#776)
* Update hypridle module to be an all-purpose idle inhibitor module using Astal inhibiting.

* Fix types and module code.

* Update note

* Removed lingering comment.

* Remove hypridle from dependencies.
2025-02-16 12:20:29 -08:00
Jas Singh
c309a73d2d Fixed an issue that would cause a hidden bar to unhide when a workspace changed. (#771)
* Fixed an issue that would cause a hidden bar to unhide when a workspace is changed.

* Remove jsdoc for param that doesn't exist.
2025-02-15 00:01:51 -08:00
wistfulbrick
4424a523bf Workaround unreliable GDK geometry scaling for matching monitors (#768)
* Workaround unreliable GDK geometry scaling for matching monitors

* Extra monitor matching handling for transforms/rotation and fractional scaling

* Add monitor key matching debug logging

* Fix fractionally scaled monitor matching, plus slight refactor

* Fix rotation logic

* Use console.debug for debug logging, run linting

* Fix Type errors

* Update debugging comment after testing

* Linting again..
2025-02-14 00:41:45 -08:00
Jas Singh
0d5f80ff5c Check if client.workspace is not undefined or null. (#765) 2025-02-08 00:17:32 -08:00
Jas Singh
6b846b9709 Remove global service declarations and change to declarations upon usage. (#761)
* Remove global service declarations and change to declarations upon usage.

* Only load cava service if cava is enabled.
2025-02-06 02:15:20 -08:00
Jas Singh
74065af3d2 Window client title now updates appropriately. (#741)
* Window client title now updates appropriately.

* Update src/components/bar/modules/window_title/helpers/title.ts
2025-01-25 00:24:15 -08:00
davfsa
636f031b77 Code cleanup (#719)
- Remove random call to `print`
- Remove double declaration of notifdService
2025-01-12 23:53:32 -08:00
Jas Singh
fab3a8c3a1 Remove the unintended empty space from the power module in the bar. (#714) 2025-01-11 12:40:02 -08:00
davfsa
a9ad71ff42 Update bluetooth label when a new device connects/disconnects (#708) 2025-01-11 00:07:03 -08:00
Jas Singh
1812193658 Added ghostty to the window titles. (#706) 2025-01-09 23:21:06 -08:00
Amaan Qureshi
9663d2f6b7 fix(window-title): correct Thorium title name (#700) 2025-01-07 21:51:28 -08:00
Jas Singh
e525d9e03a Update how conditional elements are rendered for bar modules. (#688) 2025-01-03 00:23:10 -08:00
Ed Bennett
6efcd60467 Cava Module (#662)
* First version of the cava module

* Update cava stuff

* Update themes for cava

* Update themes

* Handle cava visibility when null

* Add bar characters in options

---------

Co-authored-by: Ed Bennett <ed@dodimead.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-01-02 22:45:37 -08:00
Jas Singh
a071e4c17d Updated popup menu layouts and fixed workspace behavior. (#687) 2025-01-02 22:33:34 -08:00
Jas Singh
210d5e2a5e Fixed an issue that would cause the scroll direction to be inverted on secondary monitors. (#683)
* Fixed an issue that would cause the scroll direction to be inverted on secondary monitors.

* Update import paths and tsconfig.
2024-12-31 03:20:47 -08:00
Jas Singh
5f72b4f5e1 Workspaces now show up on their appropriate monitors. (#681)
* Workspaces now show up on their appropriate monitors.

* Fixed undefined rules showing up.
2024-12-31 01:33:40 -08:00
Jas Singh
45cb701b3b Hyprland clients are now fetched from a binding instead of get_clients(). (#642)
* Get clients from bindings.

* Active workspaces now show properly on all workspace configurations.

* Filter clients by current workspace.
2024-12-27 01:03:40 -08:00
Jas Singh
38bbcf96ef Added a command to adjust volume that respects hyprpanel settings and made bar module settings for click events apply immediately. (#619) 2024-12-24 14:46:37 -08:00
Amaan Qureshi
c87a6ca251 support paru in checkUpdates & clarify polling interval is in ms (#601)
* feat(scripts): support `paru` for checking package updates

* fix(config): clarify polling interval is in ms

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-12-24 02:53:30 -08:00
Jas Singh
e7d9235bf5 Fixed an issue where the updates module wouldn't update visibility when auto-hide was toggled. (#612) 2024-12-24 02:43:58 -08:00
ilikestreet
e0917ffb28 feat: no update w/ autohide option & add option to swap netstat icon … (#591)
* feat: no update w/ autohide option & add option to swap netstat icon for up/down links

* Update src/scss/style/bar/bar.scss

* Update src/components/bar/shared/Module.tsx

* Update src/components/bar/settings/config.tsx

* Update src/options.ts

* Apply suggestions from code review

* move visibilty to updatesIcon func

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-12-24 02:34:56 -08:00
Jas Singh
d8a59c1d18 Fixed a bug that would prevent the workspace module from being scrolled. (#609) 2024-12-24 01:09:09 -08:00
Jas Singh
af88c267f4 Added the ability to adjust application specific audio levels. (#608)
* Added a playback volume module in audio menu.

* Finish playback source volume adjuster.
2024-12-23 14:03:01 -08:00
Jas Singh
48faf52e59 Fixed the auto-hide functionality for the media bar module. (#588) 2024-12-21 21:12:12 -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
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
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
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
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