6

Tired of opening manually the same programs every morning ?

 3 years ago
source link: https://dev.to/leamsigc/tired-of-opening-manually-the-same-programs-every-morning-19bn
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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 modeExit 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

Hey there, here's where you can find me on the internet

LinkedIn - leamsigc

GitHub - @leamsigc

Twitter - @leamsigc

Instagram - @leamsigc

Twitch - @leamsigc


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK