diff options
author | ubq323 <ubq323@ubq323.website> | 2024-02-14 00:56:23 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-02-14 00:56:23 +0000 |
commit | 7bd1c144e0eac89812ce3ada28245d09ba406104 (patch) | |
tree | 44467d0b795f81995e1ce9b411a1cdd1d39dc014 /bin | |
parent | de0349ba6f85bbb9b42b0ff99dfefc1312f0fd30 (diff) |
various
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rupload | 5 | ||||
-rwxr-xr-x | bin/rws | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/rupload b/bin/rupload index 74c943c..b0cd640 100755 --- a/bin/rupload +++ b/bin/rupload @@ -90,7 +90,10 @@ while exists_already "$rname"; do rname="_$rname" done -printf 'uploading to %s\n' "$rname" >&2 +if [ "$printurl" -eq 0 ]; then + printf 'uploading to %s\n' "$rname" >&2 +fi + if [ "$dry_run" -eq 1 ]; then echo dryrun, not uploading anything tidy_tempfile @@ -9,8 +9,6 @@ WSD=$XDG_RUNTIME_DIR/ws mkdir -p $WSD - - wslist () { # list workspaces, most-recently-used first swaymsg -t get_workspaces | jq -rc '.[] | .name' | while read wsn; do |