diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-04 18:25:37 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-04 18:25:37 +1100 |
| commit | 0d0fc1657aa41552f5342b6f90e218ea1d98a8c9 (patch) | |
| tree | b34e5917cbb3e54145e2a922cfefd8a585655795 | |
| parent | feat: uwsm app -> app2unit (diff) | |
| download | caelestia-cli-0d0fc1657aa41552f5342b6f90e218ea1d98a8c9.tar.gz caelestia-cli-0d0fc1657aa41552f5342b6f90e218ea1d98a8c9.tar.bz2 caelestia-cli-0d0fc1657aa41552f5342b6f90e218ea1d98a8c9.zip | |
feat: xdg-open -> app2unit
real
| -rwxr-xr-x | record.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/record.fish b/record.fish index c859d89..79e8d59 100755 --- a/record.fish +++ b/record.fish @@ -78,10 +78,10 @@ if pgrep wf-recorder > /dev/null switch $action case 'watch' - xdg-open $new_recording_path + app2unit -O $new_recording_path case 'open' dbus-send --session --dest=org.freedesktop.FileManager1 --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file://$new_recording_path" string:'' \ - || xdg-open (dirname $new_recording_path) + || app2unit -O (dirname $new_recording_path) case 'save' set -l save_file (app2unit -- zenity --file-selection --save --title='Save As') test -n "$save_file" && mv $new_recording_path $save_file || warn 'No file selected' |