Implemented custom system for creating and distributing color schemes based on wallpapers, and also cycling through wallpapers.

nixfmt'd the codebase
This commit is contained in:
2026-03-09 22:02:46 -04:00
parent 4308b8eb16
commit 8ee748a997
145 changed files with 2776 additions and 1125 deletions

View File

@@ -1,27 +1,37 @@
{ pkgs, self, ... }:
let
pythonWithPkgs = pkgs.python3.withPackages (p: [ p.evdev ]);
keyboardSfxScript = "${self}/assets/scripts/keyboard_sound_thing.py";
in
{
systemd.user = {
timers = {
maintenanceCheck = {
Unit = { Description = "Timer for package maintenance check"; };
Unit = {
Description = "Timer for package maintenance check";
};
Timer = {
OnCalendar = "hourly";
Persistent = true;
};
Install = { WantedBy = [ "timers.target" ]; };
Install = {
WantedBy = [ "timers.target" ];
};
};
};
services = {
swww-daemon = {
Unit.Description = "Daemon for swww (sway wayland wallpaper manager)";
Install.WantedBy = [ "hyprland-session.target" ];
Service = {
ExecStart = "${pkgs.swww}/bin/swww-daemon";
};
};
kitty-keyboard-sounds = {
description = "Keyboard sound effects for kitty";
wantedBy = [ "hyprland-session.target" ];
serviceConfig = {
ExecStart = "${pythonWithPkgs}/bin/python3 ${keyboardSfxScript}";
Unit.Description = "Keyboard sound effects for kitty";
Install.WantedBy = [ "hyprland-session.target" ];
Service = {
ExecStart = "${pkgs.myPython}/bin/python3 ${keyboardSfxScript}";
};
};
};