Commit Graph

63 Commits

Author SHA1 Message Date
davfsa
94a00a49da Fix: order priority when resolving application icon maps (#868)
Signed-off-by: davfsa <davfsa@gmail.com>
2025-03-28 09:29:56 -07:00
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
Siddharth Jain
dba7ac64c6 Feat: Added a configuration option to define the save location of recordings.
* Add file picker for saving screen recordings

Implemented a file picker using Zenity to allow users to choose the save location for their screen recordings after stopping.

Replaced the hardcoded save path with dynamic user input.

Improved the notification system to inform users when recordings are saved or discarded.

* Refactored RecordingButton to fetch the latest recording path dynamically.

Removed static path references, ensuring the updated path from Hyprpanel config is always used.

* Update screen_record.sh

Added comment why use "sleep 1" at line 80

* Update module.nix

Updated nix module.

* Expand ~ in output directory, set default path, and add validation

- Properly expand `~` to `$HOME` in the output directory path.
- Set default recording directory to `$HOME/Videos` if none is provided.
- Validate that the output directory exists before starting a recording.

* Update scripts/screen_record.sh

Co-authored-by: Chase Taylor <11805686+dotaxis@users.noreply.github.com>

* Update scripts/screen_record.sh

Co-authored-by: Chase Taylor <11805686+dotaxis@users.noreply.github.com>

* Code Quality Check.

* Update RecordingButton.tsx

Removed debug logs as well.

* Update src/components/menus/dashboard/shortcuts/buttons/RecordingButton.tsx

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

* updated RecordingButton.tsx && helper.tsx

Fixed the issues pointed by @Jas-SinghFSU

* Update RecordingButton.tsx

Fixed few linter errors.

---------

Co-authored-by: Chase Taylor <11805686+dotaxis@users.noreply.github.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-24 20:52:17 -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
davfsa
a949b34632 Feat: Add live reloading of configuration file (#684)
* Add live reloading of configuration file

This also removes the need for a file with all the available
configuration and a shadow configuration file.

Additionally, added several improvements:
1. Reduce I/O on initial configuration loading by only reading file once
2. Remove unnecesary back and forth events when editing configuration

* Add missing return type

* Consistently reset on config changes and error if failed to initialize config

* Fix massive I/O load on startup by numerical options

* Use _findVal when monitoring config file

* Apply PR requested changes

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

* Add missing =>

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

* Fix reassignment to const, change to let.

---------

Signed-off-by: davfsa <davfsa@gmail.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-16 02:39:25 -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
Chase Taylor
5075c94af2 Add region screen recording (#791)
* Add region screen recording

* Update readme

* Use get-default-sink and software encoding

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

* Remove log file creation logic

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-02-27 17:47:21 -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
Jas Singh
3419315e65 Made shadows togglable with default set to false. (#786) 2025-02-19 17:23:57 -08:00
davfsa
f8bbd0af80 Fix undefined tooltip text (#780) 2025-02-18 09:44:43 -08:00
Jas Singh
9b342341fe Added shadows to the Bar, Menus, OSD and Notifications. (#777)
* Added shadows to the Bar, Menus and notifications.

* Add OSD shadows
2025-02-16 21:41:52 -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
Keon Lee
88609f7e4c feat: add padding option for inactive workspace numbers (#702)
* feat: add padding option for inactive workspace number

* chore: reorder options to gather padding related options

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-01-15 23:12:21 -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
d2e02f553a OSDs are now click through and can have borders. (#674) 2024-12-30 04:09:16 -08:00
Jas Singh
d49a750bfd Added an option to toggle auto-dismissal of notifications. (#673) 2024-12-30 01:23:52 -08:00
Jas Singh
2b06b214a8 Added a notification if an import or export of a config/theme fails. (#664)
* Added a notification if an import or export of a config/file fails.

* Use const
2024-12-28 18:56:51 -08:00
Jas Singh
9343ae85a3 Fix the font selector. (#660) 2024-12-28 17:55:20 -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
99b173bc58 Cleanup unused code (#625) 2024-12-25 01:18:27 -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
Jas Singh
65140db40c Fixed styling of playback toggle button in volume menu. (#615) 2024-12-24 03:32:51 -08:00
Antoine Bertin
905d9776ac fix: missing class for bluetooth discover button (#613) 2024-12-24 03:23:25 -08:00
davfsa
e9df5eb230 Fix resolving paths for .face.icon in dashboard and add home ('~') path support (#606)
* Fix resolving paths for .face.icon in dashboard and add home ('~') path support

* Fix ESLint issues

* Update src/lib/utils.ts

Co-authored-by: davfsa <davfsa@gmail.com>

* Update src/lib/utils.ts

* Rename `resolvePath` to `normalizePath`

* Rename missing reference

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-12-24 02:56:11 -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
a3f348c580 Fixed an issue that would caused empty dashboard shortcuts to not hide properly. (#610) 2024-12-24 02:17:08 -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
97e852cf94 Remove timeout from Hyprpanel notifications. (#597) 2024-12-22 13:42:47 -08:00
Jas Singh
dec781071a Added a scrollbar to the network and bluetooth menu. (#593)
* Added a scrollbar to the network and bluetooth menu.

* Update themes

* Adjust height of network menu scroller.
2024-12-22 02:19:51 -08:00