diff --git a/.zshrc b/.zshrc index 7a587dc..70857b8 100644 --- a/.zshrc +++ b/.zshrc @@ -7,6 +7,10 @@ export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" +export ANDROID_SDK_ROOT=$HOME/android/sdk +export PATH=$PATH:$ANDROID_SDK_ROOT/emulator +export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools + export PATH=$PATH:~/.local/bin:~/.local/bin/statusbar export MOZ_USE_XINPUT2=1 diff --git a/bin/bg-set-image b/bin/bg-set-image old mode 100644 new mode 100755 index 3c0d3dc..b573779 --- a/bin/bg-set-image +++ b/bin/bg-set-image @@ -1,3 +1,9 @@ #!/bin/bash -feh --no-fehbg --bg-scale $(cat ~/dotfiles/.wallpaper) +path=$XDG_CACHE_HOME/wallpaper + +if [ $1 ]; then + echo $(realpath $1) > $path +fi + +feh --no-fehbg --bg-scale $(cat $path) diff --git a/bin/set-cursor-theme b/bin/set-cursor-theme old mode 100644 new mode 100755