plasma-manager and other changes
This commit is contained in:
parent
315e7eb23e
commit
1da91f0176
8 changed files with 358 additions and 46 deletions
98
home/peach.nix
Normal file
98
home/peach.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue