home/sway: cleanup

This commit is contained in:
Aly Raffauf 2024-07-21 21:42:22 -04:00
parent 3d432dffdf
commit f401d0e7bd

View file

@ -47,7 +47,6 @@ in {
focus = { focus = {
followMouse = "always"; followMouse = "always";
newWindow = "focus"; newWindow = "focus";
# mouseWarping = "container";
}; };
fonts = { fonts = {
@ -218,12 +217,6 @@ in {
startup = 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 = "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1";}
{command = "${scripts.idleD}";} {command = "${scripts.idleD}";}
{command = lib.getExe pkgs.autotiling;} {command = lib.getExe pkgs.autotiling;}
@ -234,7 +227,8 @@ in {
{command = lib.getExe pkgs.mako;} {command = lib.getExe pkgs.mako;}
] ]
++ lib.optional cfg.desktop.sway.redShift ++ lib.optional cfg.desktop.sway.redShift
{command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";}; {command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";}
++ lib.optional cfg.desktop.sway.randomWallpaper {command = "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";};
output = { output = {
"BOE 0x095F Unknown".scale = "1.5"; "BOE 0x095F Unknown".scale = "1.5";