mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
- 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.
28 lines
716 B
TypeScript
28 lines
716 B
TypeScript
import AstalHyprland from "gi://AstalHyprland";
|
|
import { Runner } from "../Runner";
|
|
|
|
|
|
const searchEngines = {
|
|
duckduckgo: "https://duckduckgo.com/?q=",
|
|
google: "https://google.com/search?q=",
|
|
yahoo: "https://search.yahoo.com/search?p="
|
|
};
|
|
|
|
let engine: string = searchEngines.google;
|
|
|
|
export const PluginWebSearch = {
|
|
prefix: '?',
|
|
name: "Web Search",
|
|
prioritize: true,
|
|
|
|
handle: (search) => ({
|
|
icon: "system-search-symbolic",
|
|
title: search || "Type your search...",
|
|
description: `Search the Web`,
|
|
actionClick: () => AstalHyprland.get_default().dispatch(
|
|
"exec",
|
|
`xdg-open \"${engine + search}\"`
|
|
)
|
|
})
|
|
} as Runner.Plugin;
|