let's hope this doesn't break everything :3

This commit is contained in:
Noa Aarts 2024-05-11 00:44:17 +02:00
parent 608f093290
commit 2f85fb1b3b
21 changed files with 176 additions and 224 deletions

View file

@ -15,15 +15,23 @@ in
default = pkgs.kitty;
description = "What terminal emulator should be used in hyprland";
};
wallpapers.automapaper = {
enable = lib.mkEnableOption "enable automapaper";
};
};
imports = [
./waybar/default.nix
./wofi.nix
./dunst.nix
./automapaper/automapaper.nix
];
config = lib.mkIf cfg.enable {
modules = {
automapaper = {
enable = true;
};
waybar = {
modules = {
left = [ "hyprland/workspaces" "tray" "hyprland/window" ];
@ -70,8 +78,8 @@ in
exec-once = [
"waybar"
"dunst"
"automapaper -C ${config.xdg.configHome}/automapaper/config.toml"
"automapaper -C ${config.xdg.configHome}/automapaper/config2nd.toml"
(lib.mkIf cfg.wallpapers.automapaper.enable "automapaper -C ${config.xdg.configHome}/automapaper/config.toml")
(lib.mkIf cfg.wallpapers.automapaper.enable "automapaper -C ${config.xdg.configHome}/automapaper/config2nd.toml")
"hyprctl dispatcher focusmonitor 1"
"hypridle"
];