home/breakerbox: make anyrun breaker

This commit is contained in:
2025-08-22 13:43:57 +02:00
parent 690da7585d
commit 65e357e8ff
2 changed files with 6 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ in
./programs/nix.nix ./programs/nix.nix
./programs/alacritty.nix ./programs/alacritty.nix
./programs/anyrun
./programs/aria2.nix ./programs/aria2.nix
./programs/atuin.nix ./programs/atuin.nix
./programs/bash.nix ./programs/bash.nix
@@ -80,7 +81,6 @@ in
]) ++ (optionals machineVars.wayland [ ]) ++ (optionals machineVars.wayland [
./programs/hyprland ./programs/hyprland
./programs/waybar.nix ./programs/waybar.nix
./programs/anyrun
]) ++ (optionals (!machineVars.wayland) [ ]) ++ (optionals (!machineVars.wayland) [
./programs/xmonad ./programs/xmonad
# ./programs/xmobar # ./programs/xmobar
@@ -157,4 +157,7 @@ in
services.network-manager-applet.enable = graphics; services.network-manager-applet.enable = graphics;
services.psd.enable = graphics; services.psd.enable = graphics;
services.tumblerd.enable = graphics; services.tumblerd.enable = graphics;
programs.anyrun.enable = machineVars.wayland;
} }

View File

@@ -1,8 +1,6 @@
{ pkgs, lib, inputs, ... }: { pkgs, lib, ... }:
{ {
programs.anyrun = { programs.anyrun = {
enable = true;
config = { config = {
y.fraction = 0.3; y.fraction = 0.3;
width.fraction = 0.25; width.fraction = 0.25;
@@ -14,7 +12,7 @@
showResultsImmediately = true; showResultsImmediately = true;
}; };
extraCss = builtins.readFile (./. + "/style.css"); extraCss = builtins.readFile ./style.css;
extraConfigFiles."applications.ron".text = let extraConfigFiles."applications.ron".text = let
preprocess_script = pkgs.writeShellApplication { preprocess_script = pkgs.writeShellApplication {