From 0b0df792e1d3e7706923d023c2e8d3057130251e Mon Sep 17 00:00:00 2001 From: ColumbusUtrigas Date: Tue, 6 Sep 2022 23:52:56 +0400 Subject: [PATCH] android studio fix, set bg image enhance --- .zshrc | 4 ++++ bin/bg-set-image | 8 +++++++- bin/set-cursor-theme | 0 3 files changed, 11 insertions(+), 1 deletion(-) mode change 100644 => 100755 bin/bg-set-image mode change 100644 => 100755 bin/set-cursor-theme 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