aboutsummaryrefslogtreecommitdiff
path: root/gui/tasker.nix
blob: 43a40df6a23d8316a261431203dc9de97879122f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ pkgs, ... }:

let
  tasks = {
    "bsc_edit" = {
      description = "Grid refinement BSc thesis editor";
      directory = "~/university/documents/bachelor/arbeit";
      terminal = false;
      command = "nix-shell --run 'nvim-qt --no-ext-tabline'";
    };
    "bsc_shell" = {
      description = "Grid refinement BSc thesis shell";
      directory = "~/university/documents/bachelor/arbeit";
      terminal = true;
      command = "nix-shell --command fish";
    };
    "bsc_view" = {
      description = "Grid refinement BSc thesis PDF";
      directory = "~/university/documents/bachelor/arbeit";
      terminal = false;
      command = "evince build/main.pdf";
    };
  };
in {
  home.packages = pkgs.callPackage ./pkgs/tasker.nix { inherit pkgs; inherit tasks; };
}