sound menu

This commit is contained in:
KoenDR06 2026-01-19 19:04:05 +01:00
parent c5c233509c
commit 284da9f58a
10 changed files with 48 additions and 22 deletions

View file

@ -597,5 +597,5 @@ in {
};
};
config.horseman.catppuccin.colors = lib.mkDefault flavors.${cfg.flavor};
config.horseman.catppuccin.colors = lib.mkDefault (flavors.${cfg.flavor} // {accent = cfg.flavor.${cfg.accent};});
}

View file

@ -8,7 +8,6 @@
cfg = config.horseman.wm.hyprland;
colors = config.horseman.catppuccin.colors;
accent = config.horseman.catppuccin.accent;
in {
imports = [
./options.nix
@ -90,8 +89,8 @@ in {
resizeOnBorder = true;
allowTearing = false;
col.activeBorder = catppuccin.toRGB colors.${accent};
col.inactiveBorder = catppuccin.toRGBA colors.${accent} 0.25;
col.activeBorder = catppuccin.toRGB colors.accent;
col.inactiveBorder = catppuccin.toRGBA colors.accent 0.25;
layout = "dwindle";
};

View file

@ -54,6 +54,16 @@ in {
in "pkill fuzzel || ${a}/bin/power-menu";
}
{
flags = [];
mods = ["SUPER"];
key = "S";
dispatcher = "exec";
params = let
a = pkgs.writeShellScriptBin "sound-menu" (builtins.readFile ../../../misc/sound-menu.sh);
in "pkill fuzzel || ${a}/bin/sound-menu";
}
{
flags = [];
mods = ["SUPER"];