fixed zshell config editing aliases, rewrote the 'if (host == 'oganesson')' statements to be more readable

This commit is contained in:
pagedmov
2024-10-22 17:38:57 -04:00
parent b20e6d745c
commit 4ab38e199b
7 changed files with 33 additions and 21 deletions

View File

@@ -3,7 +3,12 @@
host,
scheme,
...
}: {
}:
let
desktop = (host == "oganesson");
in
{
wayland.windowManager.hyprland = {
settings = {
monitor =
@@ -28,7 +33,7 @@
];
workspace =
if (host == "oganesson")
if desktop
then [
"1,persistent=true,monitor:HDMI-A-1"
"2,persistent=true,monitor:HDMI-A-1"