nix/home-manager/hosts/rdesktop/desktops/plasma6/plasma-manager.nix
2024-06-14 10:28:30 +09:00

87 lines
2.4 KiB
Nix

{ theme, ... }: {
programs.plasma = {
enable = true;
overrideConfig = true;
hotkeys = {
};
workspace = {
iconTheme = "Papirus-Dark";
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
theme = "Arc-Dark";
colorScheme = "Arc";
};
panels = [
{
location = "bottom";
widgets = [
{
name = "org.kde.plasma.applicationmenu";
config = {
General.icon = "nix-snowflake-white";
};
}
{
name = "org.kde.plasma.icontasks";
config = {
General.launchers = [
"applications:org.kde.dolphin.desktop"
"applications:firefox.desktop"
"applications:bitwarden.desktop"
"applications:org.kde.konsole.desktop"
"applications:steam.desktop"
];
};
}
"org.kde.plasma.marginsseparator"
"org.kde.plasma.pager"
{
name = "org.kde.plasma.systemtray";
config = {
icons = {
spacing = "small";
};
items = {
shown = [
"org.kde.plasma.battery"
"org.kde.plasma.volume"
"org.kde.plasma.networkmanagement"
];
hidden = [
"org.kde.plasma.bluetooth"
"org.kde.plasma.mediaplayer"
"org.kde.plasma.nightlight"
"org.kde.plasma.brightness"
"org.kde.plasma.manage-inputmethod"
"org.kde.plasma.keyboardindicator"
"org.kde.plasma.keyboardlayout"
"org.kde.plasma.cameraindicator"
"org.kde.plasma.clipboard"
];
};
};
}
{
name = "org.kde.plasma.digitalclock";
config = {
Appearance = {
showDate = "false";
showSeconds = "never";
use24hFormat = "24h";
selectedTimeZones = [
"Asia/Tokyo"
];
};
};
}
];
}
];
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
};
};
}