Use plasma-manager options they finally fixed
This commit is contained in:
+5
-15
@@ -19,13 +19,7 @@
|
|||||||
panels = [
|
panels = [
|
||||||
{
|
{
|
||||||
location = "bottom";
|
location = "bottom";
|
||||||
# screen is broken, outputs some panel.writeConfig("lastScreen[$i]", 0) nonsense
|
screen = 0;
|
||||||
# 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;
|
|
||||||
'';
|
|
||||||
floating = true;
|
floating = true;
|
||||||
widgets = [
|
widgets = [
|
||||||
{
|
{
|
||||||
@@ -38,14 +32,10 @@
|
|||||||
"org.kde.plasma.taskmanager"
|
"org.kde.plasma.taskmanager"
|
||||||
"org.kde.plasma.marginsseparator"
|
"org.kde.plasma.marginsseparator"
|
||||||
{
|
{
|
||||||
# systemTray module is broken
|
systemTray = {
|
||||||
# https://github.com/nix-community/plasma-manager/blame/b7697abe89967839b273a863a3805345ea54ab56/modules/widgets/system-tray.nix#L223
|
items = {
|
||||||
# SystrayContainmentId appears to be null so no settings are applied
|
hidden = [ "spotify-client" ];
|
||||||
name = "org.kde.plasma.systemtray";
|
shown = [
|
||||||
config = {
|
|
||||||
General = {
|
|
||||||
hiddenItems = [ "spotify-client" ];
|
|
||||||
shownItems = [
|
|
||||||
"org.kde.plasma.mediacontroller"
|
"org.kde.plasma.mediacontroller"
|
||||||
"org.kde.plasma.networkmanagement"
|
"org.kde.plasma.networkmanagement"
|
||||||
"org.kde.plasma.brightness"
|
"org.kde.plasma.brightness"
|
||||||
|
|||||||
Reference in New Issue
Block a user