nixos-config/config/kde/theming.nix

49 lines
1.2 KiB
Nix
Raw Normal View History

2024-11-10 21:20:25 +00:00
{ systemConfig, pkgs, ... }:
2024-11-09 14:02:26 +00:00
{
2024-11-05 18:49:05 +00:00
programs.plasma = {
2024-11-10 21:20:25 +00:00
workspace = {
lookAndFeel = "org.kde.breezedark.desktop";
wallpaperSlideShow = {
path = if systemConfig.isNSFW then "${pkgs.art-lotte-bgs-nsfw}" else "${pkgs.art-lotte-bgs-sfw}";
};
};
2024-11-05 18:49:05 +00:00
hotkeys.commands."launch-konsole" = {
name = "Launch Konsole";
key = "Meta+Alt+K";
command = "konsole";
};
panels = [
# Windows-like panel at the bottom
{
location = "bottom";
2024-11-08 13:12:29 +00:00
screen = "all";
2024-11-05 18:49:05 +00:00
widgets = [
"org.kde.plasma.kickoff"
"org.kde.plasma.icontasks"
"org.kde.plasma.marginsseparator"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
];
}
2024-11-11 15:07:47 +00:00
# Global menu at the top
{
location = "top";
height = 26;
widgets = [ "org.kde.plasma.appmenu" ];
screen = "all";
}
2024-11-05 18:49:05 +00:00
];
2024-11-11 15:06:29 +00:00
fonts.fixedWidth = {
family = "FiraCode Nerd Font Mono";
pointSize = 9;
};
2024-11-11 15:04:15 +00:00
configFile.kwinrc."NightColor" = {
Active = true;
LatitudeFixed = 51;
LongitudeFixed = 13;
Mode = "Location";
NightTemperature = 4200;
};
2024-11-05 18:49:05 +00:00
};
}