diff options
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 |
