From 050f0209fb039949342b54957b01d25ed2262836 Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Sun, 19 Oct 2025 01:40:24 +0200 Subject: [PATCH] Use plasma-manager options they finally fixed --- home-modules/plasma.nix | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/home-modules/plasma.nix b/home-modules/plasma.nix index 4167bb5..cafa205 100644 --- a/home-modules/plasma.nix +++ b/home-modules/plasma.nix @@ -19,13 +19,7 @@ panels = [ { location = "bottom"; - # screen is broken, outputs some panel.writeConfig("lastScreen[$i]", 0) nonsense - # https://github.com/nix-community/plasma-manager/blob/b7697abe89967839b273a863a3805345ea54ab56/lib/panel.nix#L38 - # screen = 0; - # JS code to be added at the end of activation script - extraSettings = '' - panel.screen = 0; - ''; + screen = 0; floating = true; widgets = [ { @@ -38,14 +32,10 @@ "org.kde.plasma.taskmanager" "org.kde.plasma.marginsseparator" { - # systemTray module is broken - # https://github.com/nix-community/plasma-manager/blame/b7697abe89967839b273a863a3805345ea54ab56/modules/widgets/system-tray.nix#L223 - # SystrayContainmentId appears to be null so no settings are applied - name = "org.kde.plasma.systemtray"; - config = { - General = { - hiddenItems = [ "spotify-client" ]; - shownItems = [ + systemTray = { + items = { + hidden = [ "spotify-client" ]; + shown = [ "org.kde.plasma.mediacontroller" "org.kde.plasma.networkmanagement" "org.kde.plasma.brightness"