mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 08:33:55 -05:00
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
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:
parent
23ad89f6cf
commit
3d432dffdf
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [./randomWallpaper.nix ./redShift.nix];
|
imports = [./randomWallpaper.nix];
|
||||||
|
|
||||||
config = lib.mkIf config.ar.home.desktop.sway.enable {
|
config = lib.mkIf config.ar.home.desktop.sway.enable {
|
||||||
ar.home.theme.gtk.hideTitleBar =
|
ar.home.theme.gtk.hideTitleBar =
|
||||||
|
|
|
@ -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";}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -216,22 +216,25 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
startup = [
|
startup =
|
||||||
{
|
[
|
||||||
command =
|
{
|
||||||
if cfg.desktop.sway.randomWallpaper
|
command =
|
||||||
then "true"
|
if cfg.desktop.sway.randomWallpaper
|
||||||
else "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";
|
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 = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";}
|
||||||
{command = lib.getExe pkgs.autotiling;}
|
{command = "${scripts.idleD}";}
|
||||||
{command = lib.getExe' pkgs.blueman "blueman-applet";}
|
{command = lib.getExe pkgs.autotiling;}
|
||||||
{command = lib.getExe' pkgs.networkmanagerapplet "nm-applet";}
|
{command = lib.getExe' pkgs.blueman "blueman-applet";}
|
||||||
{command = lib.getExe' pkgs.playerctl "playerctld";}
|
{command = lib.getExe' pkgs.networkmanagerapplet "nm-applet";}
|
||||||
{command = lib.getExe' pkgs.swayosd "swayosd-server";}
|
{command = lib.getExe' pkgs.playerctl "playerctld";}
|
||||||
{command = lib.getExe pkgs.mako;}
|
{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 = {
|
output = {
|
||||||
"BOE 0x095F Unknown".scale = "1.5";
|
"BOE 0x095F Unknown".scale = "1.5";
|
||||||
|
|
Loading…
Reference in a new issue