nix/home-manager/hosts/rdesktop/desktops/plasma6/plasma-manager.nix
2024-06-13 14:32:53 +09:00

89 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.kickoff";
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"
];
};
};
}
{
name = "org.kde.plasma.digitalclock";
config = {
Appearance = {
showDate = "false";
showSeconds = "never";
use24hFormat = "24h";
selectedTimeZones = [
"America/Chicago"
"America/Los_Angeles"
"Asia/Tokyo"
];
};
};
}
];
}
];
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
};
};
}