plasma-manager and other changes

This commit is contained in:
Sean Kovacs 2025-11-06 12:33:16 -05:00
commit 1da91f0176
Signed by: sckova
GPG key ID: 00F325187C68651A
8 changed files with 358 additions and 46 deletions

23
home/alien.nix Normal file
View file

@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
catppuccin = {
accent = "mocha";
flavor = "blue";
};
programs.plasma = {
workspace = {
# lookAndFeel = "Catppuccin-Mocha-Blue";
colorScheme = "CatppuccinMochaBlue";
cursor.theme = "catppuccin-mocha-blue-cursors";
splashScreen.theme = "Catpppuccin-Mocha-Blue";
};
configFile = {
kdeglobals.KDE = {
DefaultDarkLookAndFeel = "Catppuccin-Mocha-Blue";
DefaultLightLookAndFeel = "Catppuccin-Latte-Blue";
};
};
}

View file

@ -1,11 +1,6 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "sckova";
home.homeDirectory = "/home/sckova";
home.packages = with pkgs; [
vesktop
fish
@ -24,19 +19,137 @@
fzf
wl-clipboard
openmw
nixfmt-rfc-style
kde-rounded-corners
kdePackages.partitionmanager
colloid-icon-theme
(catppuccin-kde.override {
flavour = [
"latte"
"mocha"
];
accents = [
"peach"
"blue"
];
})
];
catppuccin = {
enable = true;
flavor = "mocha";
cursors = {
enable = true;
accent = "dark";
};
firefox = {
force = true;
};
};
programs.plasma = {
enable = true;
overrideConfig = true;
session = {
sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession";
};
workspace = {
iconTheme = "Colloid-Dark";
windowDecorations = {
library = "org.kde.breeze";
theme = "Breeze";
};
cursor.size = 24;
};
configFile = {
kwinrc.Desktops.Number = 3;
# kdeglobals.KDE.AutomaticLookAndFeel = true;
kwinrc.Round-Corners.ActiveOutlinePalette = 3;
kwinrc.Round-Corners.ActiveOutlineUseCustom = false;
kwinrc.Round-Corners.ActiveOutlineUsePalette = true;
kwinrc.Round-Corners.ActiveSecondOutlinePalette = 3;
kwinrc.Round-Corners.ActiveSecondOutlineUseCustom = false;
kwinrc.Round-Corners.ActiveSecondOutlineUsePalette = true;
kwinrc.Round-Corners.InactiveOutlinePalette = 2;
kwinrc.Round-Corners.InactiveOutlineUseCustom = false;
kwinrc.Round-Corners.InactiveOutlineUsePalette = true;
kwinrc.Round-Corners.InactiveSecondOutlinePalette = 2;
kwinrc.Round-Corners.InactiveSecondOutlineUseCustom = false;
kwinrc.Round-Corners.InactiveSecondOutlineUsePalette = true;
};
panels = [
# Windows-like panel at the bottom
{
location = "bottom";
height = 40;
hiding = "dodgewindows";
lengthMode = "fit";
floating = true;
alignment = "left";
widgets = [
# Or you can configure the widgets by adding the widget-specific options for it.
# See modules/widgets for supported widgets and options for these widgets.
# For example:
{
kickoff = {
sortAlphabetically = true;
# icon = "nix-snowflake-white";
};
}
# Adding configuration to the widgets can also for example be used to
# pin apps to the task-manager, which this example illustrates by
# pinning dolphin and konsole to the task-manager by default with widget-specific options.
{
iconTasks = {
launchers = [
"applications:firefox.desktop"
"applications:org.kde.dolphin.desktop"
"applications:org.kde.konsole.desktop"
];
};
}
# If no configuration is needed, specifying only the name of the
# widget will add them with the default configuration.
"org.kde.plasma.activitypager"
"org.kde.plasma.marginsseparator"
# If you need configuration for your widget, instead of specifying the
# the keys and values directly using the config attribute as shown
# above, plasma-manager also provides some higher-level interfaces for
# configuring the widgets. See modules/widgets for supported widgets
# and options for these widgets. The widgets below shows two examples
# of usage, one where we add a digital clock, setting 12h time and
# first day of the week to Sunday and another adding a systray with
# some modifications in which entries to show.
{
systemTray.items = {
# We explicitly show bluetooth and battery
shown = [
"org.kde.plasma.battery"
"org.kde.plasma.bluetooth"
];
# And explicitly hide networkmanagement and volume
hidden = [
"org.kde.plasma.networkmanagement"
"org.kde.plasma.volume"
];
};
}
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time.format = "12h";
};
}
];
}
];
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards

98
home/peach.nix Normal file
View file

@ -0,0 +1,98 @@
{ config, pkgs, ... }:
{
catppuccin = {
accent = "peach";
flavor = "mocha";
};
programs.plasma = {
workspace = {
# lookAndFeel = "Catppuccin-Mocha-Peach";
colorScheme = "CatppuccinMochaPeach";
cursor.theme = "catppuccin-mocha-peach-cursors";
splashScreen.theme = "Catpppuccin-Mocha-Peach";
};
configFile = {
kdeglobals.KDE = {
DefaultDarkLookAndFeel = "Catppuccin-Mocha-Peach";
DefaultLightLookAndFeel = "Catppuccin-Latte-Peach";
};
};
panels = [
# Application name, Global menu and Song information and playback controls at the top
{
location = "top";
height = 37;
widgets = [
{
applicationTitleBar = {
behavior = {
activeTaskSource = "activeTask";
};
layout = {
elements = [ "windowTitle" ];
horizontalAlignment = "left";
showDisabledElements = "deactivated";
verticalAlignment = "center";
};
overrideForMaximized.enable = false;
titleReplacements = [
{
type = "regexp";
originalTitle = "^Brave Web Browser$";
newTitle = "Brave";
}
{
type = "regexp";
originalTitle = ''\\bDolphin\\b'';
newTitle = "File manager";
}
];
windowTitle = {
font = {
bold = false;
fit = "fixedSize";
size = 12;
};
hideEmptyTitle = true;
margins = {
bottom = 0;
left = 10;
right = 5;
top = 0;
};
source = "appName";
};
};
}
"org.kde.plasma.appmenu"
"org.kde.plasma.panelspacer"
{
plasmusicToolbar = {
panelIcon = {
albumCover = {
useAsIcon = false;
radius = 8;
};
icon = "view-media-track";
};
playbackSource = "auto";
musicControls.showPlaybackControls = true;
songText = {
displayInSeparateLines = true;
maximumWidth = 640;
scrolling = {
behavior = "alwaysScroll";
speed = 3;
};
};
};
}
];
}
];
};
}