elogind, second try.

This commit is contained in:
Bartek Stalewski 2023-10-20 14:34:48 +02:00
parent fba0142458
commit acfe289a23
3 changed files with 8 additions and 4 deletions

View File

@ -6,3 +6,7 @@ export XDG_STATE_HOME=$HOME/.local/state
export HISTSIZE=10000
export SAVEHIST=$HISTSIZE
export HISTFILE=$XDG_DATA_HOME/zsh/history
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi

View File

@ -1,3 +1,7 @@
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi
# prepare directories
mkdir -p $XDG_CACHE_HOME/zsh
mkdir -p $XDG_DATA_HOME/zsh

View File

@ -26,10 +26,6 @@ def autostop():
autostop = os.path.expanduser('~/.config/qtile/stop.sh')
subprocess.run([autostop])
@hook.subscribe.suspend
def suspend():
qtile.spawn("swaylock --image ~/.config/qtile/wallpaper.img")
mod = "mod4"
groups = [
Group("1", label="\uf292"),