diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-04 18:24:02 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-04 18:24:02 +1100 |
| commit | ad791dfd76bca340ba584f736c6d30ea1cced504 (patch) | |
| tree | e99b609ac0f37fdf4c78531e9c0ea3ab99262fe5 /screenshot.fish | |
| parent | install: use systemd services for shell and safeeyes (diff) | |
| download | caelestia-cli-ad791dfd76bca340ba584f736c6d30ea1cced504.tar.gz caelestia-cli-ad791dfd76bca340ba584f736c6d30ea1cced504.tar.bz2 caelestia-cli-ad791dfd76bca340ba584f736c6d30ea1cced504.zip | |
feat: uwsm app -> app2unit
Also xdg-open -> app2unit
Diffstat (limited to 'screenshot.fish')
| -rwxr-xr-x | screenshot.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/screenshot.fish b/screenshot.fish index 7363631..5274c67 100755 --- a/screenshot.fish +++ b/screenshot.fish @@ -11,12 +11,12 @@ set -l action (notify-send -i 'image-x-generic-symbolic' -h "STRING:image-path:$ 'Screenshot taken' "Screenshot stored in $tmp_file and copied to clipboard") switch $action case 'open' - uwsm app -- swappy -f $tmp_file & disown + app2unit -- swappy -f $tmp_file & disown case 'save' - set -l save_file (uwsm app -- zenity --file-selection --save --title='Save As') + set -l save_file (app2unit -- zenity --file-selection --save --title='Save As') test -z $save_file && exit 0 if test -f $save_file - uwsm app -- yad --image='abrt' --title='Warning!' --text-align='center' --buttons-layout='center' --borders=20 \ + app2unit -- yad --image='abrt' --title='Warning!' --text-align='center' --buttons-layout='center' --borders=20 \ --text='<span size="x-large">Are you sure you want to overwrite this file?</span>' || exit 0 end cp $tmp_file $save_file |