This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technical:programming:env [2022/08/22 13:08] – jc | technical:programming:env [2023/03/09 07:02] (current) – jc | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Tmux is a terminal multiplexer for managing multiple virtual terminals and SSH connections. | Tmux is a terminal multiplexer for managing multiple virtual terminals and SSH connections. | ||
| ### Install | ### Install | ||
| - | Create a ~/ | + | Create a `~/ | 
| ``` bash | ``` bash | ||
| - | mkdir -p ~/ | + | mkdir -p ~/ | 
| - | cd ~/ | + | cd ~/ | 
| - | git clone https:// | + | # Tmux Plugin Manager | 
| - | git clone https:// | + | git clone https:// | 
| + | # Tmux Dracula Theme | ||
| + | git clone https:// | ||
| ``` | ``` | ||
| ### Configure | ### Configure | ||
| - | Configure ~/ | + | Configure | 
| ``` | ``` | ||
| # List of plugins | # List of plugins | ||
| Line 38: | Line 40: | ||
| run -b ' | run -b ' | ||
| ``` | ``` | ||
| - | Create a bash function for creating | + | Create a bash function for initializing | 
| ``` bash | ``` bash | ||
| #!/bin/bash | #!/bin/bash | ||
| Line 52: | Line 54: | ||
| tmux -S $SERVER | tmux -S $SERVER | ||
| tmux -S $SERVER send-keys -t $SESSION ' | tmux -S $SERVER send-keys -t $SESSION ' | ||
| - |  | + | # doom window | 
| tmux -S $SERVER new-window -t $SESSION | tmux -S $SERVER new-window -t $SESSION | ||
| tmux -S $SERVER rename-window -t $SESSION doom | tmux -S $SERVER rename-window -t $SESSION doom | ||
| Line 77: | Line 79: | ||
| exec tmux_new | exec tmux_new | ||
| ``` | ``` | ||
| + | Now simply source or copy the function to a file and execute from the command line. | ||
| + | |||
| </ | </ | ||
| ====== Emacs ====== | ====== Emacs ====== | ||
| ===== Doom ===== | ===== Doom ===== | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | I frequently run into problems with Doom Emacs upgrade failures. Most issues can be resolved by simply removing the offending package' | ||
| + | < | ||
| + | ``` bash | ||
| + | # Remove the package' | ||
| + | rm -rf ~/ | ||
| + | # Remove the package' | ||
| + | rm -rf ~/ | ||
| + | # Run then Doom Emacs upgrade command | ||
| + | doom upgrade | ||
| + | ``` | ||
| + | </ | ||
| ===== Elisp ===== | ===== Elisp ===== | ||
| * [[https:// | * [[https:// | ||
| ====== Window Manager ====== | ====== Window Manager ====== | ||
| ===== Sway ===== | ===== Sway ===== | ||
| - | Start sway using lightdm | + | Start sway from lightdm or a shell. | 
| ==== Install | ==== Install | ||
| **Dependencies: | **Dependencies: | ||
| **Optional: | **Optional: | ||
| - | ==== Configure | + | ==== Lightdm Configuration | 
| Uncomment '' | Uncomment '' | ||
| < | < | ||
| Line 114: | Line 130: | ||
| </ | </ | ||
| - | ==== Startup ==== | + | ==== Lightdm | 
| Restart services. | Restart services. | ||
| Line 132: | Line 148: | ||
| exec sway | exec sway | ||
| fi | fi | ||
| - | </cod | + | </code> | 
| - | e> | + | |