mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-12-27 11:02:52 +00:00
This commit is contained in:
parent
62b8002248
commit
95bd5767ae
1 changed files with 2 additions and 2 deletions
|
@ -44,14 +44,14 @@ init_config () {
|
||||||
dunst_paused_state="$(dunstctl is-paused)"
|
dunst_paused_state="$(dunstctl is-paused)"
|
||||||
|
|
||||||
# read user config
|
# read user config
|
||||||
USER_CONF="$HOME/.config/betterlockscreenrc"
|
USER_CONF="${XDG_CONFIG_HOME:-$HOME/.config}/betterlockscreenrc"
|
||||||
if [ -e "$USER_CONF" ]; then
|
if [ -e "$USER_CONF" ]; then
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source "$USER_CONF"
|
source "$USER_CONF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
CACHE_DIR="$HOME/.cache/i3lock"
|
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/betterlockscreen"
|
||||||
CUR_DIR="$CACHE_DIR/current"
|
CUR_DIR="$CACHE_DIR/current"
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
|
|
Loading…
Reference in a new issue