diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-02-26 19:34:25 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-02-26 19:34:25 +0100 |
| commit | 4f1afdd2527e5def0ec49666e58d6270ad77a6d0 (patch) | |
| tree | b9292d81a4c4c2444a2ab8d1a62bee292e25f10c /accounts/gkleen@sif/niri.nix | |
| parent | 3b658e4ea09c672fa7a4ff0abc458d8b7c21f1de (diff) | |
| download | nixos-4f1afdd2527e5def0ec49666e58d6270ad77a6d0.tar nixos-4f1afdd2527e5def0ec49666e58d6270ad77a6d0.tar.gz nixos-4f1afdd2527e5def0ec49666e58d6270ad77a6d0.tar.bz2 nixos-4f1afdd2527e5def0ec49666e58d6270ad77a6d0.tar.xz nixos-4f1afdd2527e5def0ec49666e58d6270ad77a6d0.zip | |
...flakes
Diffstat (limited to 'accounts/gkleen@sif/niri.nix')
| -rw-r--r-- | accounts/gkleen@sif/niri.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/niri.nix b/accounts/gkleen@sif/niri.nix index d676f613..3918efcb 100644 --- a/accounts/gkleen@sif/niri.nix +++ b/accounts/gkleen@sif/niri.nix | |||
| @@ -933,7 +933,15 @@ in { | |||
| 933 | "Mod+D".action = with-urgent-window-action "{\"Action\":{\"FocusWindow\":{\"id\": .id}}}"; | 933 | "Mod+D".action = with-urgent-window-action "{\"Action\":{\"FocusWindow\":{\"id\": .id}}}"; |
| 934 | "Mod+Shift+D".action = with-focused-window-action "{\"Action\":{\"UnsetUrgent\":{\"id\": .id}}}"; | 934 | "Mod+Shift+D".action = with-focused-window-action "{\"Action\":{\"UnsetUrgent\":{\"id\": .id}}}"; |
| 935 | 935 | ||
| 936 | "Mod+K".action = spawn (lib.getExe' pkgs.worktime "worktime-ui"); | 936 | "Mod+K".action = spawn (toString (pkgs.resholve.writeScript "worktime-ui" { |
| 937 | interpreter = pkgs.runtimeShell; | ||
| 938 | inputs = [ pkgs.worktime config.programs.quickshell.package ]; | ||
| 939 | execer = [ | ||
| 940 | "cannot:${lib.getExe' config.programs.quickshell.package "qs"}" | ||
| 941 | ]; | ||
| 942 | } '' | ||
| 943 | worktime-ui && qs ipc call Worktime refresh | ||
| 944 | '')); | ||
| 937 | "Mod+Shift+K".action = spawn (lib.getExe' pkgs.worktime "worktime-stop"); | 945 | "Mod+Shift+K".action = spawn (lib.getExe' pkgs.worktime "worktime-stop"); |
| 938 | })) | 946 | })) |
| 939 | (lib.mapAttrsToList (name: cfg: node name [(lib.removeAttrs cfg ["action"])] [cfg.action]) (let | 947 | (lib.mapAttrsToList (name: cfg: node name [(lib.removeAttrs cfg ["action"])] [cfg.action]) (let |
