iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i3 improvements
[distro-setup]
/
btrfsmaint
diff --git
a/btrfsmaint
b/btrfsmaint
index 85f2f349711dd92584430c059acffd4071d2aa46..f50f5494e2aba068fb68aa2bd51f748b87d358a7 100755
(executable)
--- a/
btrfsmaint
+++ b/
btrfsmaint
@@
-57,12
+57,10
@@
check-idle() {
export XAUTHORITY=/home/iank/.Xauthority
export DISPLAY=:0
locked=false
export XAUTHORITY=/home/iank/.Xauthority
export DISPLAY=:0
locked=false
- if lock_info=$(xscreensaver-command -time); then
+ if lock_info=$(xscreensaver-command -time
2>/dev/null
); then
if [[ $lock_info != *non-blanked* ]]; then
locked=true
fi
if [[ $lock_info != *non-blanked* ]]; then
locked=true
fi
- else
- locked=true
fi
}
fi
}