* 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>
* 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>
* 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>
* 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>
The menu-items-section box of the media menu was not transparent by
default. Usually it is fully shadowed by its child "menu-content".
The color and tint of the can be configured by the user.
However, because the menu-items-section box behind the card had a
solid color, it was impossible to configure a transparent card.
Co-authored-by: Merlin Sievers <merlin.sievers@posteo.net>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
* Ensure notification service is available when sending a notification
This is a bit of a weird patch for a fundamental order-of-execution
issue.
The bundler (esbuild) can sometimes place the `notifdService`
instantiation bellow the code calling `Notify`, which would causes the
`notify-send` execution to fail. To avoid this, we can make it seem like
`notifdService` is being used inside `Notify`, so that it is always
placed above the usage of the function, ensuring that we always have a
notification daemon running
* Add eslint-disable-line
* Update src/lib/utils.ts
---------
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>