Home Gen512 @ 2025-05-03-18:44 by jonas@comfy-station

This commit is contained in:
Jonas Röger 2025-05-03 18:44:57 +02:00
parent f0df66e74c
commit ba6dec9ea5

View File

@ -77,7 +77,10 @@ in {
lookAndFeel = "Utterly-Nord"; lookAndFeel = "Utterly-Nord";
theme = "breeze"; theme = "breeze";
colorScheme = "UtterlyNord"; colorScheme = "UtterlyNord";
cursorTheme = "Breeze"; cursor = {
theme = "Breeze";
size = 32;
};
wallpaper = "/home/jonas/.local/share/wallpaper/nord.png"; wallpaper = "/home/jonas/.local/share/wallpaper/nord.png";
}; };
@ -92,28 +95,171 @@ in {
{ {
location = "bottom"; location = "bottom";
widgets = [ widgets = [
"org.kde.plasma.kickoff" # We can configure the widgets by adding the name and config
"org.kde.plasma.pager" # attributes. For example to add the the kickoff widget and set the
# We can also configure the widgets. For example if you want to pin # icon to "nix-snowflake-white" use the below configuration. This will
# konsole and dolphin to the task-launcher the following widget will # add the "icon" key to the "General" group for the widget in
# have that. # ~/.config/plasma-org.kde.plasma.desktop-appletsrc.
{ {
name = "org.kde.plasma.icontasks"; name = "org.kde.plasma.kickoff";
config = { config = {
General.launchers = [ General = {
icon = "nix-snowflake-white";
alphaSort = true;
};
};
}
# 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:org.kde.dolphin.desktop" "applications:org.kde.dolphin.desktop"
"applications:org.kde.konsole.desktop" "applications:org.kde.konsole.desktop"
]; ];
}; };
} }
"org.kde.plasma.marginsseperator" # Or you can do it manually, for example:
"org.kde.plasma.systemtray" {
"org.kde.plasma.digitalclock" name = "org.kde.plasma.icontasks";
config = {
General = {
launchers = [
"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.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.
{
digitalClock = {
calendar.firstDayOfWeek = "sunday";
time.format = "12h";
};
}
{
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"
];
};
}
];
hiding = "autohide";
}
# Application name, Global menu and Song information and playback controls at the top
{
location = "top";
height = 26;
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;
};
};
};
}
]; ];
hiding = null;
} }
]; ];
kwin = {
edgeBarrier = 0; # Disables the edge-barriers introduced in plasma 6.1
cornerBarrier = false;
scripts.polonium.enable = true;
};
kscreenlocker = {
lockOnResume = true;
timeout = 10;
};
# #
# Some mid-level settings: # Some mid-level settings:
# #
@ -160,13 +306,19 @@ in {
# Some low-level settings: # Some low-level settings:
# #
configFile = { configFile = {
"baloofilerc"."Basic Settings"."Indexing-Enabled".value = false; baloofilerc."Basic Settings"."Indexing-Enabled" = false;
"kwinrc"."org.kde.kdecoration2"."ButtonsOnLeft".value = "SF"; kwinrc."org.kde.kdecoration2".ButtonsOnLeft = "SF";
"kwinrc"."Desktops"."Number" = { kwinrc.Desktops.Number = {
value = 8; value = 8;
# Forces kde to not change this value (even through the settings app). # Forces kde to not change this value (even through the settings app).
immutable = true; immutable = true;
}; };
kscreenlockerrc = {
Greeter.WallpaperPlugin = "org.kde.potd";
# To use nested groups use / as a separator. In the below example,
# Provider will be added to [Greeter][Wallpaper][org.kde.potd][General].
"Greeter/Wallpaper/org.kde.potd/General".Provider = "bing";
};
}; };
}; };
}; };