aa
This commit is contained in:
parent
88a32f9aeb
commit
0e8bcc17ea
12
kakoune.nix
12
kakoune.nix
@ -193,10 +193,14 @@ let
|
||||
runtimeInputs = [ myKakoune ];
|
||||
text = ''
|
||||
BUFFER_NAME=''$(echo -n "''$PWD" | xxd -ps -c 200 | tr -d '\n')
|
||||
tmux -L "$BUFFER_NAME" new-session -d -s "$BUFFER_NAME" 'kak -e kaktree-toggle'
|
||||
tmux -L "$BUFFER_NAME" set -g status off
|
||||
tmux -L "$BUFFER_NAME" set -g pane-border-style fg=#0c0c0c
|
||||
tmux -L "$BUFFER_NAME" set -g pane-active-border-style "bg=default fg=#0c0c0c"
|
||||
|
||||
tmux -L "$BUFFER_NAME" has-session -t "$BUFFER_NAME" || {
|
||||
tmux -L "$BUFFER_NAME" new-session -d -s "$BUFFER_NAME" 'kak -e kaktree-toggle'
|
||||
tmux -L "$BUFFER_NAME" set -g status off
|
||||
tmux -L "$BUFFER_NAME" set -g pane-border-style fg=#0c0c0c
|
||||
tmux -L "$BUFFER_NAME" set -g pane-active-border-style "bg=default fg=#0c0c0c"
|
||||
}
|
||||
|
||||
tmux -L "$BUFFER_NAME" attach -t "$BUFFER_NAME"
|
||||
'';
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user