autostart texstudio and texmaker
This commit is contained in:
parent
36f1035956
commit
19be2c3635
1 changed files with 9 additions and 1 deletions
10
flake.nix
10
flake.nix
|
@ -52,6 +52,7 @@
|
|||
let
|
||||
pkgs = nixpkgsFor.${system};
|
||||
in ( rec {
|
||||
# This sets the default devShell
|
||||
default = kakoune;
|
||||
kakoune =
|
||||
let
|
||||
|
@ -107,10 +108,11 @@
|
|||
pkgs.mkShellNoCC {
|
||||
inputsFrom = [self.outputs.packages.${system}.default];
|
||||
packages = [myKakoune texlab pkgs.git pkgs.zathura pkgs.fzf];
|
||||
# TODO only try to start the kakoune session if no session with that
|
||||
# name exists
|
||||
shellHook = ''
|
||||
alias ..="cd .."
|
||||
mkdir -p ${latexTmpDir}
|
||||
touch /tmp/texlabLog
|
||||
export KAKOUNE_CONFIG_DIR="/dev/null/"
|
||||
kak -d -s ${name} &
|
||||
alias vim="kak -c ${name}"
|
||||
|
@ -120,12 +122,18 @@
|
|||
pkgs.mkShellNoCC {
|
||||
inputsFrom = [self.outputs.packages.${system}.default];
|
||||
packages = [pkgs.texstudio pkgs.git];
|
||||
shellHook = ''
|
||||
texstudio
|
||||
'';
|
||||
};
|
||||
|
||||
texmaker =
|
||||
pkgs.mkShellNoCC {
|
||||
inputsFrom = [self.outputs.packages.${system}.default];
|
||||
packages = [pkgs.texmaker pkgs.git];
|
||||
shellHook = ''
|
||||
texmaker
|
||||
'';
|
||||
};
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue