diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-09 19:54:43 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-09 19:54:43 -0400 |
| commit | f67b48b02b0813273d3375cf0d3f3319a0a79dbd (patch) | |
| tree | 94f94bf15e0be52dd1c5e7057673cd542b89a3bb /users/ryan/modules/ubersicht | |
| parent | 4d12069176a576f90e32a90c805fa9653934011e (diff) | |
Added task warrior widget
Diffstat (limited to 'users/ryan/modules/ubersicht')
| -rw-r--r-- | users/ryan/modules/ubersicht/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/users/ryan/modules/ubersicht/default.nix b/users/ryan/modules/ubersicht/default.nix new file mode 100644 index 0000000..fb514cb --- /dev/null +++ b/users/ryan/modules/ubersicht/default.nix | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | { config, lib, pkgs, ... }: | ||
| 2 | |||
| 3 | with lib; | ||
| 4 | |||
| 5 | let | ||
| 6 | cfg = config.ryan.ubersicht; | ||
| 7 | in | ||
| 8 | { | ||
| 9 | options.ryan.ubersicht.enable = mkEnableOption "ubersicht"; | ||
| 10 | |||
| 11 | config = mkIf cfg.enable { | ||
| 12 | launchd.agents.ubersicht = { | ||
| 13 | enable = true; | ||
| 14 | config = { | ||
| 15 | ProgramArguments = [ "/usr/bin/open" "-a" "Übersicht" ]; | ||
| 16 | RunAtLoad = true; | ||
| 17 | }; | ||
| 18 | }; | ||
| 19 | }; | ||
| 20 | } | ||
