finally got hyprland plugins to work (however only from nixpkgs repo)

This commit is contained in:
Tomas Rivera committed 2026-02-28 20:12:25 +01:00
1 parent 59f8955947
commit ab4de4b42d
9 files changed
+314 -44

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
{ writeShellApplication, hyprland, jq,... }:
writeShellApplication {
name = "custom-killall";
runtimeInputs = [
hyprland
jq
];
text = ''
active_workspace_id=$(hyprctl activeworkspace -j | jq -r '.id')
hyprctl clients -j |
jq -r ".[]
| select(.workspace.id==''${active_workspace_id})
| select(.focusHistoryID!=0)
| .pid" |
xargs -r kill
'';
}