nix/home-manager/modules/plasma.nix

101 lines
3.3 KiB
Nix
Raw Normal View History

2024-11-21 22:31:12 -07:00
{ pkgs, ... }:
{
programs.plasma = {
enable = true;
workspace = {
2024-11-24 16:53:57 -07:00
# Enable Breeze Dark theme for color and window style
colorScheme = "BreezeDark";
windowDecorations ={
library = "org.kde.breeze";
theme = "Breeze";
};
2024-11-21 22:31:12 -07:00
# Set cursor theme
cursor = {
theme = "Vimix-cursors";
size = 24;
};
2024-11-22 01:41:55 -07:00
# Set icon theme
iconTheme = "beautyline-garuda";
2024-11-21 22:31:12 -07:00
# Set wallpaper to Shell
wallpaper = "${pkgs.kdePackages.plasma-workspace-wallpapers}/share/wallpapers/Shell/contents/images/5120x2880.jpg";
# Set colorful splash screen while plasma is loading
2024-11-24 16:53:57 -07:00
splashScreen.theme = "magna-splash-6";
2024-11-21 22:31:12 -07:00
};
2024-11-24 16:53:57 -07:00
panels = [
{
alignment = "center";
floating = true;
height = 44;
hiding = "dodgewindows";
lengthMode = "fill";
location = "bottom";
screen = "all";
widgets = [
{
name = "org.kde.plasma.kickoff";
config = {
General = {
icon = "nixos";
};
};
}
"org.kde.plasma.pager"
{
name = "org.kde.plasma.icontasks";
config = {
General = {
launchers = [
"applications:systemsettings.desktop" # KDE System Settings
"applications:org.kde.dolphin.desktop" # KDE File Manager
"applications:firefox-nightly.desktop" # Firefox
"applications:org.kde.konsole.desktop" # KDE Terminal App
"applications:codium.desktop" # VSCodium
];
};
};
}
"org.kde.plasma.marginsseparator"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
"org.kde.plasma.showdesktop"
];
}
];
2024-11-21 22:31:12 -07:00
# TODO Powerdevil
kwin = {
edgeBarrier = 0; # Disables the highlighting when approaching an edge with an effect
cornerBarrier = false;
2024-11-22 12:29:00 -07:00
effects = {
blur.enable = true;
shakeCursor.enable = false;
translucency.enable = true;
wobblyWindows.enable = true;
};
2024-11-22 14:09:53 -07:00
virtualDesktops.names = [
"Personal"
"School"
];
2024-11-21 22:31:12 -07:00
};
kscreenlocker = {
lockOnResume = true;
timeout = 10;
};
configFile = {
# Enable indexing
baloofilerc."Basic Settings"."Indexing-Enabled" = true;
2024-11-23 23:28:11 -07:00
# Wobbly windows config
kwinrc."Effect-wobblywindows" = {
AdvancedMode = false;
WobblynessLevel = 2;
};
2024-11-21 22:31:12 -07:00
};
};
}