i3: wait for being online before spawning Firefox

This commit is contained in:
Vincent Bernat 2021-07-21 11:12:11 +02:00
parent ac9beaa242
commit 26d3ad5fb7

2
config
View file

@ -157,5 +157,5 @@ for_window [title="Firefox — Sharing Indicator"] border none, sticky enable, m
exec_always --no-startup-id exec systemctl --user start --no-block i3-session.target
exec --no-startup-id exec i3-msg "\
workspace number 1; append_layout ~/.config/i3/ws-emacs.json; exec exec emacs; exec exec $term; exec exec $term; \
workspace number 2; exec exec firefox; \
workspace number 2; exec nm-online -q -t 5 && exec firefox; \
workspace number 1"