From 7bd1c144e0eac89812ce3ada28245d09ba406104 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 14 Feb 2024 00:56:23 +0000 Subject: various --- bin/rupload | 5 ++++- bin/rws | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') 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 diff --git a/bin/rws b/bin/rws index 7041e8c..198bf4b 100755 --- a/bin/rws +++ b/bin/rws @@ -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 -- cgit v1.2.3