diff --git a/home/common/optional/desktop/dwm/scripts/clipboard-save.nix b/home/common/optional/desktop/dwm/scripts/clipboard-save.nix index 1987617..8d8d0b2 100644 --- a/home/common/optional/desktop/dwm/scripts/clipboard-save.nix +++ b/home/common/optional/desktop/dwm/scripts/clipboard-save.nix @@ -14,7 +14,7 @@ *image*) echo "$(${xclip}/bin/xclip -selection clipboard -t TARGETS -o)" filename=$(${xclip}/bin/xclip -selection clipboard -t image/png -o | ${openssl}/bin/openssl sha1 | cut -b 49-) - file_exists=$(/bin/ls $image_location | grep $filename | sed "s/\..*//") + file_exists=$(ls $image_location | grep $filename | sed "s/\..*//") [[ $filename != "$file_exists" ]] && xclip -selection clipboard -t image/png -o > "$image_location/$filename.png" && notify-send -t 5000 "Image Copied" "$image_location/$filename.png" @@ -22,7 +22,7 @@ *UTF8_STRING*) echo "$(${xclip}/bin/xclip -selection clipboard -t TARGETS -o)" filename=$(${xclip}/bin/xclip -selection clipboard -t UTF8_STRING -o | ${openssl}/bin/openssl sha1 | cut -b 49-) - file_exists=$(/bin/ls "$text_location" | grep "$filename" | sed "s/\..*//") + file_exists=$(ls "$text_location" | grep "$filename" | sed "s/\..*//") echo "$filename" "$file_exists" [[ "$filename" != "$file_exists" ]] && xclip -selection clipboard -t UTF8_STRING -o > "$text_location/$filename" diff --git a/home/common/optional/desktop/dwm/sxhkdrc.nix b/home/common/optional/desktop/dwm/sxhkdrc.nix index 458d96e..10e3910 100644 --- a/home/common/optional/desktop/dwm/sxhkdrc.nix +++ b/home/common/optional/desktop/dwm/sxhkdrc.nix @@ -22,7 +22,7 @@ clipboard-image-recall /tmp/clipboard/images/ Print - flameshot gui + env QT_AUTO_SCREEN_SCALE_FACTOR=1.5 QT_SCREEN_SCALE_FACTORS="" flameshot gui control + F7 emoji-picker