Commit Graph

29 Commits

Author SHA1 Message Date
Jas Singh
5c2bc9bc6d Fix: Weather service now uses the proper units on startup (#975)
* Fix: Weather service now uses the proper units on startup

* Fix: Screen recorder now creates the needed directory
2025-06-01 18:56:38 -07:00
Jas Singh
2bb1449fb6 Fix: An issue that would cause Matugen colors to not apply. (#929)
* Eslint updates

* linter fixes

* Type fixes

* More type fixes

* Fix isvis

* More type fixes

* Type Fixes

* Consolidate logic to manage options

* Linter fixes

* Package lock update

* Update configs

* Version checker

* Debug pipeline

* Package lock update

* Update ci

* Strict check

* Revert ci

* Eslint

* Remove rule since it causes issues in CI

* Actual matugen fix
2025-05-11 23:01:55 -07:00
Pabcihba
07a990f1f8 better runUpdates script for arch users (#909)
* Better update script

* Better update script

* Update scripts/runUpdates.sh

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
Co-authored-by: davfsa <davfsa@gmail.com>
2025-04-28 17:09:16 -07:00
Mara
483facfa56 Fix: Stable update info polling (#872)
* adjusted sleep between polls to always sleep at least 2s

* fixed tooltip formatting when no updates available

---------

Co-authored-by: Mara <mara.dawn69@gmail.com>
2025-04-05 10:31:04 -07:00
Jas Singh
18c383b754 Clean up world clock module code and add themes. (#885) 2025-04-04 23:13:18 -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
8068663466 Fix: Allow vertical monitors to be recorded properly instead of erroring. (#861) 2025-03-24 22:25:15 -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
Chase Taylor
f27c47e505 readme: add bc to required dependencies (#830)
* Update README.md

Add `bc` to required dependencies

* Replace bc with awk

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-17 19:06:46 -07:00
Aaron Hallaert
b1f38f62cc fix: scaled width and height on recording (#809) 2025-02-28 23:28:15 -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
867b2a7d68 Added tokyo night (moon variant) and added more variance to tokyo night themes. (#774) 2025-02-15 21:12:14 -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
a7b553725c Update meson (#647)
* Update meson

* update

* Use build_always_stale instead of manually defining files to track.

* Clean up tsconfig
2024-12-28 03:48:52 -08:00
Jas Singh
0c9b72708e Added a built in default update script. (#631)
* Added a built in default update script.

* Remove exit
2024-12-26 02:10:39 -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
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
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
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
Rubin Bhandari
9ae59034fa fix: display media total length on bar and add a time label (#435)
* fix: display media total length on bar

* fix: add option to display custom nomedia text

* feat: add dedicated label too

* fix: media add more window names for playables

* fix: add option to control display time

* Consolidate code and make tooltip timestamp for media bar opt-in.

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-11-08 01:15:06 -08:00
Jas Singh
9287e1d6a4 Added the ability to enable borders for the bar. (#428)
* Added the ability to configure a border for the bar.

* Added the right color for configs
2024-11-03 02:09:13 -08:00
Jas Singh
9bb582c8cf Added a Vivid theme variant for all themes. (#402)
* Added vivid theme variants

* Update fill theme to handle vivids

* Fixed the network switch color
2024-10-30 01:48:03 -07:00
Jas Singh
ee7d19320c Refactored hooks to specify events and reworked the dropdowns to be significantly faster and more responsive. (#304)
* Updated events to be more specific

* Update more events

* Update globalmousepos

* Update themes and submap module to show submap name.

* Type fixes

* Reworked menu position calculation logic to be much more efficient.

* Revert import file location

* We luv arrow functions

* Remove globalMousePos remnants since it's unused.

* Added the ability to configure menu dropdown transition and duration.

* Fix type
2024-10-06 00:22:27 -07:00
TheyCallMeSecond
b9b2ea018c add official arch linux repo updatecheck to script for updates customModules (#254)
* Update checkUpdates.sh

add official repo update check

* Update checkUpdates.sh

separate pacman, aur and total updates check

* 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: Jas Singh <jaskiratpal.singh@outlook.com>
2024-09-14 17:32:54 -07:00
Cameron Smith
0156d2d8c1 Add support for dnf and fedora in checkUpdates.sh (#249)
* Add support for dnf and fedora in checkUpdates.sh

* commit changes to updates + bar

* Remove antiquated padding shenanigan <3

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

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2024-09-11 02:57:05 -07:00
Zoran Olujić
5373c106d2 Support for apt and ubuntu in CheckUpdates script (#230)
Co-authored-by: Zoran Olujic <zoran.olujic@beyonnex.com>
2024-09-06 19:04:52 -07:00
Jas Singh
4cdda38604 Implement framework for custom modules and out of the box custom modules as well. (#213)
* Create declarative module scaffolding

* Added ram module (WIP)

* Updates to options, styling and more.

* Added function for styling custom modules.

* Added utility functions and cleaned up code

* Type and fn name updates.

* Update module utils to handle absent values.

* Added icon color in style2 that was missing.

* Linted utils.ts

* Add CPU module and update RAM module to use /proc/meminfo.

* Added disk storage module.

* Consolidate code

* Added netstat module and removed elements from systray default ignore list.

* Added keyboard layout module.

* Fix hook types and move module to customModules directory

* Added updates modules.

* Spacing updates

* Added weather module.

* Added power menu and power module in bar. Increased update default interval to 6 ours.

* Updated styling of bar buttons, made power menu label toggleable, etc.

* Consolidate code and add dynamic tooltips based on data being used.

* Make default custom mogules matugen compatible

* Update base theme

* Fix custom module background coloring

* Remove testing opacity.

* Update themes to account for new modules

* Update nix stuff for libgtop (Need someone to test this)

* Update nix

* Update fractions to multiplications

* Move styling in style directory

* Implement a polling framework for variables that can dynamically adjust polling intervals.

* Netstat module updates when interface name is changed.

* Readme update
2024-09-02 21:10:59 -07:00
Jas Singh
f624153eab Added pagination to the notifications menu and a configurable limit to the amount of notifications spawned. (#199)
* Added notification pagination and pagination configuration options. fixes #171

* Added skip to end buttons

* Update theme

* Removed unused theme parts

* Update pager colors

* Theme auto-generator

* Update label color in options for pager.

* Updated themes

* Added option to change footer background for notifications menu.

* Changes to the Displayed Total options now update the menu. Bugfix
2024-08-30 01:32:11 -07:00