Tired of opening manually the same programs every morning ?

Ismael Garcia - Sep 15 '21 - - Dev Community

Tired of opening manually the same programs every morning ? Or every time that you switch projects, running the same command over and over?

Well I was in the same place that you, so I did a little research and check what other team member were using to start the day faster

My start of the day is kind of repetitive or let say is almost the same when I start the working day.

— Open the chat application that i user to communicate with my team
— Open my time tracker application — so I can have a clear view of where my time is going every day.

  • Open Firefox with a couple tabs that a need for the day
    • Check emails
    • Check the ticket system
    • Check my calendar for the day
    • See the latest changes that the repo have

The solution for me was the fallowing

tmuxp

tmux session manager

INSTALL STEPS

pip install --user tmuxp

Create and yml file in the ~/.config/tmuxp/{filename}.yaml

Here is mine :

session_name: Start
start_directory: ~/ # load session relative to config location (project root).
before_script: echo "Starting of the day"
# shell_command_before:
# - '[ -f .venv/bin/activate ] && source .venv/bin/activate && reset'
windows:
  - window_name: Start the day
    focus: true
    layout: tiled
    options:
      main-pane-height: 35
    panes:
      - shell_command:
          - firefox #https://leamsigc.com/ add the link to the tab that firefox sould open
      - shell_command:
          - code # Open vscode
          - bpytop # #https://github.com/aristocratos/bpytop and alternative to htop
      - shell_command:
          - superproductivity & bg # https://super-productivity.com/ Time tricker
          - element-desktop & bg
Enter fullscreen mode Exit fullscreen mode

How to user

Start the day by open the terminal and run the fallowing command

tmuxp load start #Remember the filename is start for my side so for you it would depend in the faliname

Recommendations

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .