This commit is contained in:
Daniel Flanagan 2020-11-06 11:00:10 -06:00
parent 5ee0874290
commit a41859f71c
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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."