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; family = fonts.sansSerif.name;
pointSize = 12; pointSize = 12;
}; };
small = {
inherit (general) family;
pointSize = general.pointSize - 2;
};
fixedWidth = { fixedWidth = {
family = fonts.monospace.name; family = fonts.monospace.name;
pointSize = 12; pointSize = 12;
}; };
in { in {
inherit general fixedWidth; inherit general small fixedWidth;
menu = general; menu = general;
toolbar = general; toolbar = general;
windowTitle = general; windowTitle = small;
small = {
inherit (general) family;
pointSize = general.pointSize - 2;
};
}; };
hotkeys.commands = { hotkeys.commands = {
"launch-konsole" = {
name = "Launch Konsole";
key = "Meta+Alt+K";
command = "konsole";
};
"launch-emacs" = { "launch-emacs" = {
name = "Launch Emacs Client Window"; name = "Launch Emacs Client Window";
key = "Meta+Alt+X"; key = "Meta+Alt+X";
@ -63,7 +58,7 @@
}; };
panels = let panels = let
launcher = { taskmanager = {
height = 48; height = 48;
lengthMode = "fit"; lengthMode = "fit";
location = "bottom"; location = "bottom";
@ -71,35 +66,11 @@
hiding = "dodgewindows"; hiding = "dodgewindows";
floating = true; floating = true;
widgets = [ 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"; name = "org.kde.plasma.icontasks";
config.General.launchers = [ config.General.launchers = [
"applications:systemsettings.desktop"
"applications:org.kde.konsole.desktop" "applications:org.kde.konsole.desktop"
"applications:org.kde.dolphin.desktop" "preferred://filemanager"
"preferred://browser" "preferred://browser"
]; ];
} }
@ -107,12 +78,35 @@
}; };
status = { status = {
height = 32; height = 32;
lengthMode = "fit"; lengthMode = "fill";
location = "bottom"; location = "top";
alignment = "right"; alignment = "center";
hiding = "autohide"; hiding = "normalpanel";
floating = true; floating = true;
widgets = [ 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 = { systemTray = {
icons = { icons = {
@ -131,27 +125,18 @@
calendar.showWeekNumbers = true; 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 = { config.General = {
showWindowIcons = "true"; showFace = "true";
showOnlyCurrentScreen = "false"; showName = "false";
wrapPage = "true"; showFullName = "true";
showTechnicalInfo = "true";
}; };
} }
]; ];
}; };
in [launcher status pager]; in [status taskmanager];
shortcuts = { shortcuts = {
kwin = { kwin = {
@ -163,7 +148,7 @@
kwin = { kwin = {
virtualDesktops = { virtualDesktops = {
rows = 1; rows = 1;
number = 4; number = 6;
}; };
effects = { effects = {
translucency.enable = true; translucency.enable = true;
@ -201,7 +186,7 @@
}; };
plasmanotifyrc.Notifications = { plasmanotifyrc.Notifications = {
NormalAlwaysOnTop = true; NormalAlwaysOnTop = true;
PopupPosition = "BottomRight"; PopupPosition = "TopRight";
}; };
}; };
}; };