Add automatic launch at startup
This commit is contained in:
parent
9989ce3582
commit
0d846193ae
2 changed files with 26 additions and 0 deletions
14
bin/launch_mail_worksplace.sh
Executable file
14
bin/launch_mail_worksplace.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# script for launching my mail workspace
|
||||
|
||||
swaymsg 'workspace $ws2; layout splitv'
|
||||
swaymsg 'exec $term --class=mail neomutt'
|
||||
swaymsg 'exec $term --class=cal ikhal'
|
||||
|
||||
while :; do
|
||||
sleep .2
|
||||
swaymsg '[app_id="cal"] focus' 2>/dev/null && break
|
||||
done
|
||||
swaymsg 'splith; exec $term'
|
||||
|
||||
exit 0
|
Reference in a new issue