Use plasma-manager options they finally fixed
This commit is contained in:
+5
-15
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user