switches to tmuxinator instead of cobbled together script

This commit is contained in:
Dennis 2026-01-21 14:43:51 +01:00
parent 80d3dd69af
commit 6a7193ab14
16 changed files with 135 additions and 17 deletions

View file

@ -0,0 +1,7 @@
name: main
root: ~/
windows:
- default:
layout: main-vertical
panes:
- clear

View 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

View 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

View 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";
};
}

View 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

View 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

View file

@ -0,0 +1,7 @@
name: main
root: ~/
windows:
- default:
layout: main-vertical
panes:
- clear

View 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

View 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

View 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

View 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

View 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";
};
}