nix/home-manager/modules/plasma.nix

110 lines
3.9 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 = [
2024-11-25 01:12:10 -07:00
# System apps
"applications:systemsettings.desktop" # System Settings
"applications:org.kde.dolphin.desktop" # File Manager
"applications:org.kde.konsole.desktop" # Terminal emulator
# Communication
"applications:vesktop.desktop" # Vesktop (discord)
"applications:element-desktop.desktop" # Element Desktop
"applications:thunderbird.desktop" # Thunderbird
# Internet
2024-11-24 16:53:57 -07:00
"applications:firefox-nightly.desktop" # Firefox
2024-11-25 01:12:10 -07:00
# Other
"applications:logseq.desktop" # LogSeq notes
2024-11-24 16:53:57 -07:00
"applications:codium.desktop" # VSCodium
2024-11-25 01:12:10 -07:00
"applications:steam.desktop" # Steam
2024-11-24 16:53:57 -07:00
];
};
};
}
"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
};
};
}