Plasma: more panel config updates

This commit is contained in:
Evie Litherland-Smith 2024-06-23 21:15:42 +01:00
parent b6b6a1e9ca
commit 7e3b7d25ea

View file

@ -34,27 +34,22 @@
family = fonts.sansSerif.name;
pointSize = 12;
};
small = {
inherit (general) family;
pointSize = general.pointSize - 2;
};
fixedWidth = {
family = fonts.monospace.name;
pointSize = 12;
};
in {
inherit general fixedWidth;
inherit general small fixedWidth;
menu = general;
toolbar = general;
windowTitle = general;
small = {
inherit (general) family;
pointSize = general.pointSize - 2;
};
windowTitle = small;
};
hotkeys.commands = {
"launch-konsole" = {
name = "Launch Konsole";
key = "Meta+Alt+K";
command = "konsole";
};
"launch-emacs" = {
name = "Launch Emacs Client Window";
key = "Meta+Alt+X";
@ -63,7 +58,7 @@
};
panels = let
launcher = {
taskmanager = {
height = 48;
lengthMode = "fit";
location = "bottom";
@ -71,35 +66,11 @@
hiding = "dodgewindows";
floating = true;
widgets = [
{
name = "org.kde.plasma.kickoff";
config.General = {
icon = "nix-snowflake";
favorites = [
"applications:emacsclient.desktop"
"applications:proton-bridge-gui.desktop"
"applications:org.kde.elisa.desktop"
"applications:org.kde.okular.desktop"
"applications:org.kde.gwenview.desktop"
"applications:org.inkscape.Inkscape.desktop"
"applications:writer.desktop"
"applications:calc.desktop"
"applications:impress.desktop"
"applications:webcord.desktop"
];
primaryActions = "0";
favoritesDisplay = "0";
applicationsDisplay = "1";
showActionButtonCaptions = "true";
compactMode = "false";
};
}
{
name = "org.kde.plasma.icontasks";
config.General.launchers = [
"applications:systemsettings.desktop"
"applications:org.kde.konsole.desktop"
"applications:org.kde.dolphin.desktop"
"preferred://filemanager"
"preferred://browser"
];
}
@ -107,12 +78,35 @@
};
status = {
height = 32;
lengthMode = "fit";
location = "bottom";
alignment = "right";
hiding = "autohide";
lengthMode = "fill";
location = "top";
alignment = "center";
hiding = "normalpanel";
floating = true;
widgets = [
{
name = "org.kde.plasma.kickoff";
config.General = {
icon = "nix-snowflake";
primaryActions = "0";
favoritesDisplay = "0";
applicationsDisplay = "1";
showActionButtonCaptions = "true";
compactMode = "false";
};
}
"org.kde.plasma.windowlist"
"org.kde.plasma.panelspacer"
{
name = "org.kde.plasma.pager";
config.General = {
showWindowIcons = "true";
showOnlyCurrentScreen = "false";
wrapPage = "true";
};
}
"org.kde.plasma.panelspacer"
"org.kde.plasma.cameraindicator"
{
systemTray = {
icons = {
@ -131,27 +125,18 @@
calendar.showWeekNumbers = true;
};
}
];
};
pager = {
height = 128;
lengthMode = "fit";
location = "top";
alignment = "center";
hiding = "autohide";
floating = true;
widgets = [
{
name = "org.kde.plasma.pager";
name = "org.kde.plasma.userswitcher";
config.General = {
showWindowIcons = "true";
showOnlyCurrentScreen = "false";
wrapPage = "true";
showFace = "true";
showName = "false";
showFullName = "true";
showTechnicalInfo = "true";
};
}
];
};
in [launcher status pager];
in [status taskmanager];
shortcuts = {
kwin = {
@ -163,7 +148,7 @@
kwin = {
virtualDesktops = {
rows = 1;
number = 4;
number = 6;
};
effects = {
translucency.enable = true;
@ -201,7 +186,7 @@
};
plasmanotifyrc.Notifications = {
NormalAlwaysOnTop = true;
PopupPosition = "BottomRight";
PopupPosition = "TopRight";
};
};
};