ITADN

panel configuration not applying properly in Plasma 6.6

#577OpenJustRadical 创建于 2026-02-20
J
JustRadicalcommented
```nix { config, pkgs, lib, ... }: let cfg = config.programs.plasma-custom; in with lib; { options = { programs.plasma-custom = { panels-screen = mkOption { type = with lib.types; nullOr (oneOf [ ints.unsigned (listOf ints.unsigned) (enum [ "all" ]) ]); default = null; }; vesktop = mkOption { type = lib.types.bool; default = true; }; }; }; config.programs.plasma = { enable = true; input = { keyboard.layouts = [ { layout = "no"; } ]; mice = [ { vendorId = "1532"; productId = "007e"; name = "RAZER Razer Mouse Dock"; accelerationProfile = "none"; } { vendorId = "1532"; productId = "007b"; name = "Razer Razer Viper Ultimate Dongle"; accelerationProfile = "none"; } ]; touchpads = [ { vendorId = "06cb"; productId = "cf00"; name = "hid-over-i2c 06CB:CF00 Touchpad"; naturalScroll = true; } ]; }; workspace = { lookAndFeel = "org.kde.breezedark.desktop"; wallpaper = "${pkgs.kdePackages.plasma-workspace-wallpapers}/share/wallpapers/Orionids/contents/images_dark/5120x2880.png"; }; panels = [ { location = "bottom"; height = 46; floating = true; lengthMode = "fit"; hiding = "dodgewindows"; screen = cfg.panels-screen; widgets = [ { kickoff = { sortAlphabetically = true; icon = "start-here-kde-symbolic"; }; } { iconTasks = { launchers = if (cfg.vesktop == false) then [ "applications:firefox.desktop" "applications:com.discordapp.Discord.desktop" "applications:org.kde.dolphin.desktop" "applications:Alacritty.desktop" "applications:org.kde.discover.desktop" ] else [ "applications:firefox.desktop" "applications:dev.vencord.Vesktop.desktop" "applications:org.kde.dolphin.desktop" "applications:Alacritty.desktop" "applications:org.kde.discover.desktop" ]; }; } ]; } { location = "top"; height = 26; floating = true; screen = cfg.panels-screen; widgets = [ { digitalClock = { calendar.firstDayOfWeek = "monday"; date.enable = false; time.format = "24h"; }; } { config = { Appearance = { #showTemperatureInBadge = true; showTemperatureInCompactMode = true; }; WeatherStation.source = "REDACTED"; }; name = "org.kde.plasma.weather"; } "org.kde.plasma.panelspacer" { 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" ]; hidden = []; configs.battery.showPercentage = true; }; } "org.kde.plasma.lock_logout" ]; } ]; powerdevil = { AC = { powerButtonAction = "lockScreen"; autoSuspend = { action = "sleep"; idleTimeout = 1000; }; turnOffDisplay = { idleTimeout = 300; idleTimeoutWhenLocked = "immediately"; }; powerProfile = "performance"; }; battery = { powerButtonAction = "lockScreen"; powerProfile = "balanced"; }; lowBattery = { whenLaptopLidClosed = "sleep"; powerProfile = "powerSaving"; }; batteryLevels = { lowLevel = 20; criticalLevel = 3; }; }; spectacle.shortcuts.captureRectangularRegion = "Meta+Shift+S"; }; } ``` This is my plasma-manager config, it says my bottom panel should be fit content, 46 height and dodge windows while my top should be 26 and static, in Plasma 6.6 every time i log in the configuration now gets set to 30 on both top and bottom for height, fill width and always visible, the settings arent applying correctly anymore. My background is also set to the new 6.6 background instead of orionids
1 条评论