This repository has been archived on 2024-09-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
sway_config/bin/launch_mail_worksplace.sh

14 lines
323 B
Bash
Executable file

#!/bin/bash
# script for launching my mail workspace
swaymsg 'workspace $ws2; layout splitv'
swaymsg 'exec $term --app-id=mail TERM=screen-256color neomutt'
swaymsg 'exec $term --app-id=cal ikhal'
while :; do
sleep .2
swaymsg '[app_id="cal"] focus' 2>/dev/null && break
done
swaymsg 'splith; exec $term'
exit 0