From 8161549add58ab92689fb389899ce931bc4be309 Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Fri, 7 Nov 2025 19:09:37 -0500 Subject: [PATCH] split off systray into 2 areas --- home/alien.nix | 19 +++++++++++++++++++ home/all.nix | 40 ---------------------------------------- home/peach.nix | 34 ++++++++++++++++++++++++++-------- 3 files changed, 45 insertions(+), 48 deletions(-) diff --git a/home/alien.nix b/home/alien.nix index 91186dd..f74784e 100644 --- a/home/alien.nix +++ b/home/alien.nix @@ -51,6 +51,25 @@ }; }; } + "org.kde.plasma.panelspacer" + "org.kde.plasma.activitypager" + "org.kde.plasma.marginsseparator" + { + systemTray.items = { + shown = [ + "org.kde.plasma.battery" + "org.kde.plasma.bluetooth" + "org.kde.plasma.networkmanagement" + "org.kde.plasma.volume" + ]; + }; + } + { + digitalClock = { + calendar.firstDayOfWeek = "sunday"; + time.format = "12h"; + }; + } ]; } ]; diff --git a/home/all.nix b/home/all.nix index 69fbf1c..2ae340f 100755 --- a/home/all.nix +++ b/home/all.nix @@ -289,18 +289,12 @@ floating = true; alignment = "left"; widgets = [ - # Or you can configure the widgets by adding the widget-specific options for it. - # See modules/widgets for supported widgets and options for these widgets. - # For example: { kickoff = { sortAlphabetically = true; # icon = "nix-snowflake-white"; }; } - # Adding configuration to the widgets can also for example be used to - # pin apps to the task-manager, which this example illustrates by - # pinning dolphin and konsole to the task-manager by default with widget-specific options. { iconTasks = { launchers = [ @@ -311,40 +305,6 @@ ]; }; } - # If no configuration is needed, specifying only the name of the - # widget will add them with the default configuration. - "org.kde.plasma.activitypager" - "org.kde.plasma.marginsseparator" - # If you need configuration for your widget, instead of specifying the - # the keys and values directly using the config attribute as shown - # above, plasma-manager also provides some higher-level interfaces for - # configuring the widgets. See modules/widgets for supported widgets - # and options for these widgets. The widgets below shows two examples - # of usage, one where we add a digital clock, setting 12h time and - # first day of the week to Sunday and another adding a systray with - # some modifications in which entries to show. - { - systemTray.items = { - # We explicitly show bluetooth and battery - shown = [ - "org.kde.plasma.battery" - "org.kde.plasma.bluetooth" - "org.kde.plasma.networkmanagement" - "org.kde.plasma.volume" - ]; - # And explicitly hide networkmanagement and volume - # hidden = [ - # "org.kde.plasma.networkmanagement" - # "org.kde.plasma.volume" - # ]; - }; - } - { - digitalClock = { - calendar.firstDayOfWeek = "sunday"; - time.format = "12h"; - }; - } ]; } ]; diff --git a/home/peach.nix b/home/peach.nix index 26be939..a70f07c 100644 --- a/home/peach.nix +++ b/home/peach.nix @@ -10,14 +10,14 @@ input.touchpads = [ { - name = "Apple MTP multi-touch"; - vendorId = "05ac"; - productId = "0352"; - disableWhileTyping = false; - enable = true; - tapToClick = false; - naturalScroll = true; - accelerationProfile = "default"; + name = "Apple MTP multi-touch"; + vendorId = "05ac"; + productId = "0352"; + disableWhileTyping = false; + enable = true; + tapToClick = false; + naturalScroll = true; + accelerationProfile = "default"; } ]; @@ -83,6 +83,7 @@ } "org.kde.plasma.appmenu" "org.kde.plasma.panelspacer" + "org.kde.plasma.activitypager" { plasmusicToolbar = { panelIcon = { @@ -104,6 +105,23 @@ }; }; } + "org.kde.plasma.marginsseparator" + { + systemTray.items = { + shown = [ + "org.kde.plasma.battery" + "org.kde.plasma.bluetooth" + "org.kde.plasma.networkmanagement" + "org.kde.plasma.volume" + ]; + }; + } + { + digitalClock = { + calendar.firstDayOfWeek = "sunday"; + time.format = "12h"; + }; + } ]; } ];