nix/home-manager/hosts/rdesktop/desktops/plasma6/plasma-manager.nix
2024-06-18 15:06:32 +09:00

85 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.clipboardmanager"
];
};
};
}
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time = {
format = "24h";
showSeconds = "never";
};
timeZone = {
selected = [ "Asia/Tokyo" "Europe/Warsaw" "America/Los_Angeles" "America/Central"];
lastSelected = "Local";
};
};
}
];
}
];
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
};
};
}