dotfiles/modules/graphical/default.nix

56 lines
1.3 KiB
Nix
Raw Normal View History

2022-05-04 01:11:31 +00:00
{ lib, ... }: {
2022-04-30 16:32:00 +00:00
2022-05-04 01:11:31 +00:00
imports = [
./xorg.nix
./fonts.nix
./i3.nix
./polybar.nix
./picom.nix
# ./dmenu.nix
./rofi.nix
];
options = with lib; {
gui = {
compositor.enable = mkEnableOption {
description = "Enable transparency, blur, shadows";
default = false;
};
launcherCommand = mkOption {
type = types.str;
description = "Command to use for launching";
};
2022-05-15 19:24:16 +00:00
systemdSearch = mkOption {
type = types.str;
description = "Command to use for interacting with systemd";
};
2022-06-03 02:09:53 +00:00
altTabCommand = mkOption {
type = types.str;
description = "Command to use for choosing windows";
};
toggleBarCommand = lib.mkOption {
type = lib.types.str;
description = "Command to hide and show the status bar.";
};
2022-05-14 21:36:38 +00:00
gtk.theme = {
name = mkOption {
type = types.str;
description = "Theme name for GTK applications";
};
package = mkOption {
type = types.str;
description = "Theme package name for GTK applications";
2022-05-15 00:29:03 +00:00
default = "gnome-themes-extra";
2022-05-14 21:36:38 +00:00
};
};
wallpaper = mkOption {
type = types.path;
description = "Wallpaper background image file";
};
2022-05-04 01:11:31 +00:00
};
2022-05-04 01:11:31 +00:00
};
2022-04-30 16:32:00 +00:00
}