about summary refs log tree commit diff
path: root/scripts/xshot.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2019-12-02 18:03:13 +0300
committerAzat Bahawi <azahi@teknik.io>2019-12-02 18:03:13 +0300
commit29a3bfae91ff4843a9ea2cab5b8cd18393fbdbf4 (patch)
treecc977d45768cd4403b89182bbe26303037a55d41 /scripts/xshot.sh
parentfix build script error and update stack (diff)
Refactor scripts
Diffstat (limited to 'scripts/xshot.sh')
-rwxr-xr-xscripts/xshot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/xshot.sh b/scripts/xshot.sh
index 0fbe40e..046315d 100755
--- a/scripts/xshot.sh
+++ b/scripts/xshot.sh
@@ -1,5 +1,5 @@
 #!/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}"
+maim --format=png --hidecursor --quality 8 "$PIC"

Consider giving Nix/NixOS a try! <3