You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.3 KiB

{ config, pkgs, ... }:
{
programs.plasma = {
enable = true;
panels = [
{
location = "left";
alignment = "center";
floating = true;
hiding = "autohide";
height = 32;
lengthMode = "fit";
opacity = "translucent";
offset = 50;
widgets = [
"org.kde.plasma.kickoff"
{
name = "org.kde.plasma.icontasks";
config = {
General = {
launchers = [
preferred://browser
preferred://filemanager
applications:Alacritty.desktop
applications:code.desktop
];
};
};
}
"org.kde.plasma.pager"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
];
}
];
workspace.lookAndFeel = "org.kde.breezedark.desktop";
desktop = {
widgets = [
{
name = "org.kde.plasma.digitalclock";
config = {
Appearance = {
showDate = false;
};
};
position = {
horizontal = 51;
vertical = 100;
};
size = {
height = 250;
width = 250;
};
}
{
name = "org.kde.comicstrip";
config = {
};
position = {
horizontal = 51;
vertical = 500;
};
size = {
height = 250;
width = 250;
};
}
];
};
# fonts.fixedWidth = {
# family = "Fira Mono";
# pointSize = 11;
# };
powerdevil = let settings = {
autoSuspend.action = "sleep";
autoSuspend.idleTimeout = 600;
dimDisplay.enable = true;
dimDisplay.idleTimeout = 300;
powerButtonAction = "shutDown";
whenLaptopLidClosed = "sleep";
}; in {
AC = settings;
battery = settings;
};
hotkeys.commands."alacritty-full" = {
name = "Launch Alacritty";
key = "Meta+Enter";
command = "alacritty --config-file ./.config/alacritty/alacritty-full.toml";
};
};
programs.okular.enable = true;
programs.plasma.input.keyboard.layouts = [
{
layout = "de";
}
];
# programs.plasma.kscreenlocker.appearance.wallpaper = "";
}