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