mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-19 04:21:55 +00:00
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.
This commit is contained in:
18
home/ags-config/runner/plugins/apps.ts
Normal file
18
home/ags-config/runner/plugins/apps.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { execApp, getAstalApps, lookupIcon, updateApps } from "../../modules/apps";
|
||||
import { Runner } from "../Runner";
|
||||
|
||||
export const PluginApps = {
|
||||
// Do not provide prefix, so it always runs.
|
||||
name: "Apps",
|
||||
// asynchronously-refresh apps list on init
|
||||
init: async () => updateApps(),
|
||||
handle: (text: string) => {
|
||||
return getAstalApps().fuzzy_query(text).map(app => ({
|
||||
title: app.get_name(),
|
||||
description: app.get_description(),
|
||||
icon: lookupIcon(app.iconName) ? app.iconName : "application-x-executable-symbolic",
|
||||
actionClick: () => execApp(app)
|
||||
})
|
||||
);
|
||||
}
|
||||
} as Runner.Plugin;
|
||||
Reference in New Issue
Block a user