sway: more logging for lock/suspend
This commit is contained in:
parent
a843390315
commit
830615d2ba
2 changed files with 4 additions and 1 deletions
2
bin/lock
2
bin/lock
|
@ -68,7 +68,7 @@ function _suspend() {
|
|||
}
|
||||
|
||||
mkdir -p $HOME/log
|
||||
echo "lock: $(date) args: $*" >> $HOME/log/lock.log
|
||||
echo "lock: $(date) args: $*" >> $HOME/log/sway.log
|
||||
|
||||
case "$1" in
|
||||
inhibit)
|
||||
|
|
|
@ -25,6 +25,9 @@ function _suspend() {
|
|||
fi
|
||||
}
|
||||
|
||||
mkdir -p $HOME/log
|
||||
echo "suspend: $(date) args: $*" >> $HOME/log/sway.log
|
||||
|
||||
case $1 in
|
||||
suspend)
|
||||
_suspend 0
|
||||
|
|
Loading…
Reference in a new issue