From e921bd0132c65fae8a859a20beb13d8faec0206c Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Mon, 30 Sep 2024 17:39:38 +0200 Subject: [PATCH] Fix the list format --- .../package-configs/plasma-desktop.nix | 78 ++++++++++--------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/home-manager/desktop/package-configs/plasma-desktop.nix b/home-manager/desktop/package-configs/plasma-desktop.nix index 5682fa0..9cfe89e 100644 --- a/home-manager/desktop/package-configs/plasma-desktop.nix +++ b/home-manager/desktop/package-configs/plasma-desktop.nix @@ -11,43 +11,47 @@ mode = "location"; temperature.night = 1400; }; - panels = { - top = { - alignment = "left"; - floating = true; - height = 38; - location = "top"; - screen = "all"; - widgets = [ - "org.kde.plasma.appmenu" - "org.kde.plasma.panelspacer" - "org.kde.milou" - "org.kde.plasma.panelspacer" - "org.kde.plasma.colorpicker" - "org.kde.plasma.systemtray" - "org.kde.plasma.digitalclock" - "org.kde.plasma.lock_logout" - ]; - }; - bottom = { - alignment = "left"; - floating = true; - height = 44; - hiding = "autohide"; - maxLength = 1000; - minLength = 1000; - location = "bottom"; - screen = "all"; - widgets = [ - "org.kde.plasma.kickoff" - "org.kde.plasma.pager" - "org.kde.plasma.panelspacer" - "org.kde.plasma.icontasks" - "org.kde.plasma.panelspacer" - "org.kde.plasma.minimizeall" - ]; - }; - }; + panels = [ + { + top = { + alignment = "left"; + floating = true; + height = 38; + location = "top"; + screen = "all"; + widgets = [ + "org.kde.plasma.appmenu" + "org.kde.plasma.panelspacer" + "org.kde.milou" + "org.kde.plasma.panelspacer" + "org.kde.plasma.colorpicker" + "org.kde.plasma.systemtray" + "org.kde.plasma.digitalclock" + "org.kde.plasma.lock_logout" + ]; + }; + } + { + bottom = { + alignment = "left"; + floating = true; + height = 44; + hiding = "autohide"; + maxLength = 1000; + minLength = 1000; + location = "bottom"; + screen = "all"; + widgets = [ + "org.kde.plasma.kickoff" + "org.kde.plasma.pager" + "org.kde.plasma.panelspacer" + "org.kde.plasma.icontasks" + "org.kde.plasma.panelspacer" + "org.kde.plasma.minimizeall" + ]; + }; + } + ]; shortcuts = { "ActivityManager"."switch-to-activity-a2cd7f51-1f1f-47a8-9544-a4c401f57a12" = [];