Evie Litherland-Smith
6bc0cbdc4f
Move sway to desktop/sway and move other packages under programs/sway up a level to programs/desktop, add niri config to desktop/niri and refactor common desktop imports into desktop/default.nix that also imports (for now at least) sway and niri modules Move wallpapers into programs/desktop since that's where they're needed anyway Add helper script to call swaybg with arguments
45 lines
1 KiB
Nix
45 lines
1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
fonts,
|
|
accentColour ? "base07",
|
|
...
|
|
}: {
|
|
programs.fuzzel = {
|
|
enable = true;
|
|
settings = {
|
|
main = {
|
|
dpi-aware = true;
|
|
font = "${fonts.monospace.name}:size=${toString fonts.sizes.applications}";
|
|
icon-theme = config.gtk.iconTheme.name;
|
|
icons-enabled = true;
|
|
fields = "filename,name,generic,categories";
|
|
fuzzy = true;
|
|
terminal = with config.programs; "${
|
|
if foot.enable
|
|
then foot.package
|
|
else pkgs.foot
|
|
}/bin/foot -e";
|
|
lines = 20;
|
|
width = 80;
|
|
tabs = 4;
|
|
layer = "overlay";
|
|
};
|
|
colors = with config.scheme; {
|
|
background = "${base00}FF";
|
|
text = "${base05}FF";
|
|
match = "${red}FF";
|
|
selection = "${base01}FF";
|
|
selection-text = "${base05}FF";
|
|
selection-match = "${red}FF";
|
|
border = "${config.scheme.${accentColour}}FF";
|
|
};
|
|
border = {
|
|
width = 1;
|
|
radius = 10;
|
|
};
|
|
};
|
|
};
|
|
}
|