Files
nix-flake/home/ags-config/runner/plugins/kill.ts
Zephrynis b2ae32a078 feat: make AGS colorshell configuration fully declarative
- Add complete colorshell v2.0.3 configuration to home/ags-config/
- Disable runner plugin and NightLight tile (incompatible with NixOS)
- Customize SCSS with full opacity (no transparency)
- Add dark pale blue color scheme in home/pywal-colors/
- Configure Papirus-Dark icon theme via home-manager
- Make ~/.config/ags/ immutable and managed by Nix store
- Auto-deploy pywal colors to ~/.cache/wal/colors.json

All AGS configuration is now reproducible and version controlled.
2025-11-04 21:36:38 +00:00

19 lines
657 B
TypeScript

import { execAsync } from "ags/process";
import { Runner } from "../Runner";
import { Notifications } from "../../modules/notifications";
export const PluginKill = {
prefix: ":k",
handle: () => ({
title: "Select a client to kill",
closeOnClick: true,
icon: "window-close-symbolic",
actionClick: () => execAsync("hyprctl kill").catch((e) =>
Notifications.getDefault().sendNotification({
summary: "Couldn't kill client",
body: `An error occurred while trying to kill a client! Stderr: ${e}`
})
)
} satisfies Runner.Result)
} satisfies Runner.Plugin;