sway: more logging for lock/suspend

This commit is contained in:
Konstantin Koslowski 2021-01-03 22:34:08 +01:00
parent a843390315
commit 830615d2ba
2 changed files with 4 additions and 1 deletions

View file

@ -68,7 +68,7 @@ function _suspend() {
} }
mkdir -p $HOME/log mkdir -p $HOME/log
echo "lock: $(date) args: $*" >> $HOME/log/lock.log echo "lock: $(date) args: $*" >> $HOME/log/sway.log
case "$1" in case "$1" in
inhibit) inhibit)

View file

@ -25,6 +25,9 @@ function _suspend() {
fi fi
} }
mkdir -p $HOME/log
echo "suspend: $(date) args: $*" >> $HOME/log/sway.log
case $1 in case $1 in
suspend) suspend)
_suspend 0 _suspend 0