Cleanup
This commit is contained in:
parent
5ee0874290
commit
a41859f71c
2 changed files with 2 additions and 3 deletions
|
@ -4,8 +4,8 @@
|
|||
LOCKFILE="/tmp/lytedev-kanshi-workspace-arranging.lock"
|
||||
if ! [[ -f $LOCKFILE ]]; then
|
||||
touch "$LOCKFILE"
|
||||
# TODO: something is pretty broken with sway/kanshi right now
|
||||
sleep 0.1
|
||||
echo "L: $(date)" >> /tmp/kanshilog
|
||||
# TODO: some way to ensure the lock file is cleaned up?
|
||||
# maybe check if the file is older than a minute?
|
||||
|
||||
|
@ -30,7 +30,6 @@ if ! [[ -f $LOCKFILE ]]; then
|
|||
|
||||
rm "$LOCKFILE"
|
||||
else
|
||||
echo "F: $(date)" >> /tmp/kanshilog
|
||||
echo "Already locked: $LOCKFILE" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -154,7 +154,7 @@ client.focused #66d9ef #66d9ef #66d9ef #66d9ef #66d9ef
|
|||
client.focused_inactive #111111 #111111 #ffffff #111111 #111111
|
||||
client.unfocused #111111 #111111 #ffffff #111111 #111111
|
||||
|
||||
exec_always 'killall kanshi; kanshi &>/tmp/kanshilog2'
|
||||
exec_always 'killall kanshi; kanshi'
|
||||
exec mako
|
||||
exec_always notify-send -a "Sway" -i ~/.wallpaper "Sway configuration loaded."
|
||||
|
||||
|
|
Reference in a new issue