Run the Jupyter Lab server in a dedicated Zellij session
This commit is contained in:
parent
1a5206a715
commit
4dcb28aee7
2 changed files with 8 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ input type:touchpad {
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $launch+Return exec $term
|
bindsym $launch+Return exec $term
|
||||||
bindsym $launch+t exec $term zellij attach --create main
|
bindsym $launch+t exec $term zellij attach --create main
|
||||||
|
bindsym $launch+j exec $term zellij --layout jupyter attach --create jupyter
|
||||||
|
|
||||||
# Start Emacs
|
# Start Emacs
|
||||||
bindsym $launch+e exec emacsclient --alternate-editor "" --create-frame
|
bindsym $launch+e exec emacsclient --alternate-editor "" --create-frame
|
||||||
|
|
|
||||||
7
.config/zellij/layouts/jupyter.kdl
Normal file
7
.config/zellij/layouts/jupyter.kdl
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
layout {
|
||||||
|
pane {
|
||||||
|
command "jupyter"
|
||||||
|
args "lab" "--notebook-dir" "/home/ohad/Projects/notebooks/"
|
||||||
|
cwd "/home/ohad/"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue