Use plasma-manager options they finally fixed

This commit is contained in:
2025-10-19 01:40:24 +02:00
parent a54dffd385
commit 050f0209fb
+5 -15
View File
@@ -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"