switches to tmuxinator instead of cobbled together script
This commit is contained in:
parent
80d3dd69af
commit
6a7193ab14
16 changed files with 135 additions and 17 deletions
7
modules/tmuxinator/personal-layouts/main.yml
Normal file
7
modules/tmuxinator/personal-layouts/main.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
name: main
|
||||
root: ~/
|
||||
windows:
|
||||
- default:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- clear
|
||||
11
modules/tmuxinator/personal-layouts/nix-config.yml
Normal file
11
modules/tmuxinator/personal-layouts/nix-config.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: nix-config
|
||||
root: ~/dev/nix-config/
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
11
modules/tmuxinator/personal-layouts/notes.yml
Normal file
11
modules/tmuxinator/personal-layouts/notes.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: notes
|
||||
root: ~/dev/notes
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
8
modules/tmuxinator/personal.nix
Normal file
8
modules/tmuxinator/personal.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."tmuxinator" = {
|
||||
# mkOutOfStoreSymlink needs an absolute path, otherwise it does not work: https://github.com/nix-community/home-manager/issues/676#issuecomment-1595795685
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/tmuxinator/personal-layouts";
|
||||
};
|
||||
}
|
||||
11
modules/tmuxinator/work-layouts/devtools.yml
Normal file
11
modules/tmuxinator/work-layouts/devtools.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: devtools
|
||||
root: ~/dev/devtools/
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
11
modules/tmuxinator/work-layouts/k8s-admin-certification.yml
Normal file
11
modules/tmuxinator/work-layouts/k8s-admin-certification.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: k8s-admin-certification
|
||||
root: ~/dev/kubernetes-admin-certification
|
||||
windows:
|
||||
- notes:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- cd notes && nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- experiments:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- cd experiments && clear
|
||||
7
modules/tmuxinator/work-layouts/main.yml
Normal file
7
modules/tmuxinator/work-layouts/main.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
name: main
|
||||
root: ~/
|
||||
windows:
|
||||
- default:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- clear
|
||||
11
modules/tmuxinator/work-layouts/nix-config.yml
Normal file
11
modules/tmuxinator/work-layouts/nix-config.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: nix-config
|
||||
root: ~/dev/nix-config/
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
11
modules/tmuxinator/work-layouts/notes.yml
Normal file
11
modules/tmuxinator/work-layouts/notes.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: notes
|
||||
root: ~/dev/notes
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
11
modules/tmuxinator/work-layouts/ride-charts.yml
Normal file
11
modules/tmuxinator/work-layouts/ride-charts.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: ride-charts
|
||||
root: ~/dev/ride-charts
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
19
modules/tmuxinator/work-layouts/ride.yml
Normal file
19
modules/tmuxinator/work-layouts/ride.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: ride
|
||||
root: ~/dev/ride
|
||||
windows:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- nvim +"lua Snacks.picker.files({ hidden = true })"
|
||||
- run:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
- db_staging:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- dbui_stg
|
||||
- db_production:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- dbui_prod
|
||||
8
modules/tmuxinator/work.nix
Normal file
8
modules/tmuxinator/work.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."tmuxinator" = {
|
||||
# mkOutOfStoreSymlink needs an absolute path, otherwise it does not work: https://github.com/nix-community/home-manager/issues/676#issuecomment-1595795685
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/tmuxinator/work-layouts";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue