2024-02-23 16:07:24 +03:00
|
|
|
{ pkgs, ... }:
|
2022-06-23 00:42:18 +03:00
|
|
|
{
|
|
|
|
programs.plasma = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-01-11 01:51:52 +03:00
|
|
|
#
|
2022-06-24 02:25:24 +03:00
|
|
|
# Some high-level settings:
|
2024-01-11 01:51:52 +03:00
|
|
|
#
|
|
|
|
workspace = {
|
|
|
|
clickItemTo = "select";
|
|
|
|
lookAndFeel = "org.kde.breezedark.desktop";
|
|
|
|
cursorTheme = "Bibata-Modern-Ice";
|
|
|
|
iconTheme = "Papirus-Dark";
|
|
|
|
wallpaper = "${pkgs.libsForQt5.plasma-workspace-wallpapers}/share/wallpapers/Patak/contents/images/1080x1920.png";
|
|
|
|
};
|
2022-06-23 00:42:18 +03:00
|
|
|
|
2024-03-27 17:07:15 +03:00
|
|
|
hotkeys.commands."launch-konsole" = {
|
|
|
|
name = "Launch Konsole";
|
2022-06-24 02:25:24 +03:00
|
|
|
key = "Meta+Alt+K";
|
|
|
|
command = "konsole";
|
|
|
|
};
|
|
|
|
|
2024-01-11 01:51:52 +03:00
|
|
|
panels = [
|
|
|
|
# Windows-like panel at the bottom
|
|
|
|
{
|
|
|
|
location = "bottom";
|
|
|
|
widgets = [
|
|
|
|
"org.kde.plasma.kickoff"
|
|
|
|
"org.kde.plasma.icontasks"
|
2024-01-22 20:41:25 +03:00
|
|
|
"org.kde.plasma.marginsseperator"
|
2024-01-11 01:51:52 +03:00
|
|
|
"org.kde.plasma.systemtray"
|
|
|
|
"org.kde.plasma.digitalclock"
|
|
|
|
];
|
|
|
|
}
|
|
|
|
# Global menu at the top
|
|
|
|
{
|
|
|
|
location = "top";
|
|
|
|
height = 26;
|
|
|
|
widgets = [
|
|
|
|
"org.kde.plasma.appmenu"
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
#
|
2022-06-24 02:25:24 +03:00
|
|
|
# Some mid-level settings:
|
2024-01-11 01:51:52 +03:00
|
|
|
#
|
2022-06-23 02:53:37 +03:00
|
|
|
shortcuts = {
|
|
|
|
ksmserver = {
|
|
|
|
"Lock Session" = [ "Screensaver" "Meta+Ctrl+Alt+L" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
kwin = {
|
|
|
|
"Expose" = "Meta+,";
|
|
|
|
"Switch Window Down" = "Meta+J";
|
|
|
|
"Switch Window Left" = "Meta+H";
|
|
|
|
"Switch Window Right" = "Meta+L";
|
|
|
|
"Switch Window Up" = "Meta+K";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-01-11 01:51:52 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Some low-level settings:
|
|
|
|
#
|
2023-12-19 11:51:51 +03:00
|
|
|
configFile = {
|
2024-03-27 15:42:15 +03:00
|
|
|
"baloofilerc"."Basic Settings"."Indexing-Enabled".value = false;
|
|
|
|
"kwinrc"."org.kde.kdecoration2"."ButtonsOnLeft".value = "SF";
|
|
|
|
"kwinrc"."Desktops"."Number" = {
|
|
|
|
value = 8;
|
|
|
|
# Forces kde to not change this value (even through the settings app).
|
|
|
|
immutable = true;
|
|
|
|
};
|
2023-12-19 11:51:51 +03:00
|
|
|
};
|
2022-06-23 00:42:18 +03:00
|
|
|
};
|
|
|
|
}
|