about summary refs log tree commit diff
path: root/scripts/xshot-upload.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xshot-upload.sh')
-rwxr-xr-xscripts/xshot-upload.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/xshot-upload.sh b/scripts/xshot-upload.sh
index 0dcd1ec..ed037de 100755
--- a/scripts/xshot-upload.sh
+++ b/scripts/xshot-upload.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
-PIC="${HOME}/pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
+PIC="$HOME/pictures/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png"
 
-maim --format=png --hidecursor --quality 8 "${PIC}" && \
-    curl --form "file=@${PIC}" "https://0x0.st" | \
+maim --format=png --hidecursor --quality 8 "$PIC" && \
+    curl --form "file=@$PIC" "https://0x0.st" | \
     xclip -quiet

Consider giving Nix/NixOS a try! <3