summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/sxhkd/sxhkdrc2
-rwxr-xr-x.config/sxiv/exec/key-handler2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index 421e4ec6..528ddcdc 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -1,7 +1,7 @@
# vim: ft=sh
alt + Print
- ffmpeg -f x11grab -i "$DISPLAY" -vframes 1 "$HOME/pictures/screenshots/$(time.uuid)".png
+ ffmpeg -f x11grab -i "$DISPLAY" -vframes 1 "$XDG_PICTURES_DIR/screenshots/$(time.uuid)".png
XF86Audio{RaiseVolume,LowerVolume,Mute}
amixer set Master {5%+,5%-,toggle}
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index bfad867f..1077b731 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -38,7 +38,7 @@ flip() {
linkwall() {
tr '\n' '\0' | xargs -0 realpath | sort | uniq | while read -r file; do
- walldir="$HOME/pictures/wallpapers/"
+ walldir="$XDG_PICTURES_DIR/wallpapers/"
name=$(basename "$file")
if [ ! -e "$walldir$name" ]; then
convwall "$file" "$walldir$name" || ln -s "$file" "$walldir"