nixos-configs/modules/ags
matt1432 5c64b5bd42
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(greetd): change some ags code
2024-02-08 14:24:33 -05:00
..
config refactor(greetd): change some ags code 2024-02-08 14:24:33 -05:00
default.nix feat(ags): move closeWindowDelay to popup.ts 2024-02-05 10:37:56 -05:00
README.md docs: add ags readme 2024-01-18 09:41:57 -05:00

AGS

Nix

This directory is the Nix entrypoint to my AGS configration.

On system activation, if this module is imported, it will generate the config.js of the host with the host's name as the parameter in transpileTypeScript to support a different setup per device.

Non-Nix

To use this setup without Nix:

/* ~/.config/ags/config.js */

import { transpileTypeScript } from './js/utils.js';

export default (await transpileTypeScript('wim')).default;

If you want to try my main config, this is what you need to have as your config.js after copying the contents of ./config to ~/.config/ags

Dependencies

The main dependencies to try it are as follows:

  • bun to transpile TS to JS
  • sassc to compile SCSS to CSS
  • coloryou for media player colors
  • playerctl for media player functionality

If you're interested in my 2-1 laptop setup, you'll need:

  • ydotool for my custom on-screen keyboard
  • my patched version of squeekboard to get a dbus interface for keyboard control (I'm looking into implementing this by itself)
  • lisgd to have touch screen gestures # TODO: switch to hyprgrass