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>
This commit is contained in:
@@ -394,6 +394,7 @@ in
|
||||
menus.dashboard.powermenu.reboot = mkStrOption "systemctl reboot";
|
||||
menus.dashboard.powermenu.shutdown = mkStrOption "systemctl poweroff";
|
||||
menus.dashboard.powermenu.sleep = mkStrOption "systemctl suspend";
|
||||
menus.dashboard.recording.path = mkStrOption "$HOME/Videos/Screencasts"
|
||||
menus.dashboard.shortcuts.enabled = mkBoolOption true;
|
||||
menus.dashboard.shortcuts.left.shortcut1.command = mkStrOption "microsoft-edge-stable";
|
||||
menus.dashboard.shortcuts.left.shortcut1.icon = mkStrOption "";
|
||||
|
||||
Reference in New Issue
Block a user