nix/home-manager/hosts/rdesktop/desktops/plasma6/plasma-manager.nix
2024-06-19 19:55:40 +09:00

86 lines
2.4 KiB
Nix

{ theme, ... }: {
programs.plasma = {
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.clipboardcontents"
"org.kde.plasma.clipboard"
];
};
};
}
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time = {
format = "24h";
showSeconds = "never";
};
timeZone = {
selected = [ "Local" "Asia/Tokyo" "Europe/Warsaw" "America/Los_Angeles" "America/Chicago"];
lastSelected = "Local";
};
};
}
];
}
];
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
};
};
}