nix/home-manager/hosts/nixos-framework/desktops/plasma6/plasma-manager.nix
2024-06-19 22:17:39 +09:00

80 lines
2.1 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.kicker";
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"
];
};
};
}
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time = {
format = "24h";
showSeconds = "never";
};
};
}
];
}
];
fonts = {
general = {
family = "JetBrains Mono";
pointSize = 12;
};
};
};
}