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:
@@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user