home/sway: consolidate secondary modules
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-07-21 21:32:06 -04:00
parent 23ad89f6cf
commit 3d432dffdf
4 changed files with 21 additions and 32 deletions

View file

@ -4,7 +4,7 @@
pkgs,
...
}: {
imports = [./randomWallpaper.nix ./redShift.nix];
imports = [./randomWallpaper.nix];
config = lib.mkIf config.ar.home.desktop.sway.enable {
ar.home.theme.gtk.hideTitleBar =

View file

@ -1,14 +0,0 @@
{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.ar.home.desktop.sway.redShift {
home.packages = with pkgs; [gammastep];
wayland.windowManager.sway.config.startup = [
{command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";}
];
};
}

View file

@ -216,22 +216,25 @@ in {
};
};
startup = [
{
command =
if cfg.desktop.sway.randomWallpaper
then "true"
else "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";
}
{command = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";}
{command = "${scripts.idleD}";}
{command = lib.getExe pkgs.autotiling;}
{command = lib.getExe' pkgs.blueman "blueman-applet";}
{command = lib.getExe' pkgs.networkmanagerapplet "nm-applet";}
{command = lib.getExe' pkgs.playerctl "playerctld";}
{command = lib.getExe' pkgs.swayosd "swayosd-server";}
{command = lib.getExe pkgs.mako;}
];
startup =
[
{
command =
if cfg.desktop.sway.randomWallpaper
then "true"
else "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";
}
{command = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";}
{command = "${scripts.idleD}";}
{command = lib.getExe pkgs.autotiling;}
{command = lib.getExe' pkgs.blueman "blueman-applet";}
{command = lib.getExe' pkgs.networkmanagerapplet "nm-applet";}
{command = lib.getExe' pkgs.playerctl "playerctld";}
{command = lib.getExe' pkgs.swayosd "swayosd-server";}
{command = lib.getExe pkgs.mako;}
]
++ lib.optional cfg.desktop.sway.redShift
{command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";};
output = {
"BOE 0x095F Unknown".scale = "1.5";