#!/bin/bash CONFIG="$HOME/.config/bspwm/alacritty/alacritty.toml" if [[ "$(cat /tmp/.current_tmxs_tasks)" == "TaskWarrior" ]]; then alacritty --config-file "$CONFIG" --title "TimeWarrior" -e tmxs-tasks elif [[ "$(cat /tmp/.current_tmxs_tasks)" == "TimeWarrior" ]]; then alacritty --config-file "$CONFIG" --title "TimeWarrior" -e tmxs-tasks else alacritty --config-file "$CONFIG" --option 'font.size=9' --title "TaskWarrior" --command tmxs-tasks "$@" fi