Remove ~/.var/lib
This commit is contained in:
@@ -3,9 +3,6 @@
|
|||||||
### From http://www.archlinux.org/index.php/i3
|
### From http://www.archlinux.org/index.php/i3
|
||||||
|
|
||||||
_logfile="$LOGDIR/i3/i3exit.log"
|
_logfile="$LOGDIR/i3/i3exit.log"
|
||||||
LOCKSCREEN="$LIBDIR/lockscreen"
|
|
||||||
|
|
||||||
_fallback_color="000000"
|
|
||||||
|
|
||||||
touch "$_logfile"
|
touch "$_logfile"
|
||||||
|
|
||||||
@@ -20,16 +17,8 @@ lock()
|
|||||||
set -x
|
set -x
|
||||||
playerctl -p spotify pause
|
playerctl -p spotify pause
|
||||||
|
|
||||||
if [[ -f "$LOCKSCREEN" ]] ; then
|
|
||||||
resized_lockscreen=$(mktemp)
|
|
||||||
convert "${LOCKSCREEN}" -resize "${MACHINE_RESOLUTION_X}x${MACHINE_RESOLUTION_Y}" "${resized_lockscreen}"
|
|
||||||
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
||||||
--image "${resized_lockscreen}"
|
--color "000000"
|
||||||
rm "${resized_lockscreen}"
|
|
||||||
else
|
|
||||||
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
|
||||||
--color "$_fallback_color"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
screen_off() {
|
screen_off() {
|
||||||
|
|||||||
1
user.yml
1
user.yml
@@ -244,7 +244,6 @@
|
|||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
- ~/tmp
|
- ~/tmp
|
||||||
- ~/.var/lib
|
|
||||||
- ~/.var/log
|
- ~/.var/log
|
||||||
|
|
||||||
- name: stat ~/bin
|
- name: stat ~/bin
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ export LESS="FRX"
|
|||||||
export WINEPATH="$HOME/games/wine"
|
export WINEPATH="$HOME/games/wine"
|
||||||
|
|
||||||
export LOGDIR="$HOME/.var/log"
|
export LOGDIR="$HOME/.var/log"
|
||||||
export LIBDIR="$HOME/.var/lib"
|
|
||||||
export BINDIR="$HOME/bin"
|
export BINDIR="$HOME/bin"
|
||||||
|
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
|||||||
Reference in New Issue
Block a user