2024-06-25 13:57:09 +02:00
|
|
|
{ extra, ... }:
|
2024-06-25 12:11:51 +02:00
|
|
|
{
|
|
|
|
programs.plasma = {
|
|
|
|
enable = true;
|
2024-07-27 13:37:52 +02:00
|
|
|
overrideConfig = true;
|
2024-06-25 12:11:51 +02:00
|
|
|
|
|
|
|
workspace = {
|
|
|
|
lookAndFeel = "org.kde.breezedark.desktop";
|
2024-06-25 16:01:07 +02:00
|
|
|
wallpaper = "${extra.wall}";
|
2024-06-25 12:11:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
kscreenlocker = {
|
2024-08-23 22:07:47 +02:00
|
|
|
appearance.wallpaper = "${extra.wall}";
|
2024-06-25 12:11:51 +02:00
|
|
|
};
|
|
|
|
|
2024-09-15 19:45:05 +02:00
|
|
|
hotkeys.commands."launch-terminal" = {
|
|
|
|
name = "Launch terminal";
|
2024-06-25 12:11:51 +02:00
|
|
|
key = "Meta+Return";
|
2024-08-21 13:39:57 +02:00
|
|
|
command = "wezterm";
|
2024-06-25 12:11:51 +02:00
|
|
|
};
|
|
|
|
|
2024-09-15 19:45:05 +02:00
|
|
|
hotkeys.commands."eye" = {
|
|
|
|
name = "eye zoom";
|
2024-09-15 19:52:52 +02:00
|
|
|
key = "Alt+PgUp";
|
2024-09-15 19:45:05 +02:00
|
|
|
command = "${extra.eyezoom} eye";
|
|
|
|
};
|
|
|
|
|
|
|
|
hotkeys.commands."default" = {
|
|
|
|
name = "default zoom";
|
2024-09-15 19:52:52 +02:00
|
|
|
key = "Alt+PgDown";
|
2024-09-15 19:45:05 +02:00
|
|
|
command = "${extra.eyezoom} default";
|
|
|
|
};
|
|
|
|
|
|
|
|
hotkeys.commands."thin" = {
|
|
|
|
name = "thin zoom";
|
2024-09-15 19:52:52 +02:00
|
|
|
key = "Alt+End";
|
|
|
|
command = "${extra.eyezoom} tiktok";
|
2024-09-15 19:45:05 +02:00
|
|
|
};
|
|
|
|
|
2024-09-24 12:40:56 +02:00
|
|
|
hotkeys.commands."wide" = {
|
|
|
|
name = "wide zoom";
|
|
|
|
key = "Alt+Home";
|
|
|
|
command = "${extra.eyezoom} wide";
|
|
|
|
};
|
|
|
|
|
2024-06-25 12:11:51 +02:00
|
|
|
hotkeys.commands."cpypsk" = {
|
|
|
|
name = "Launch cpypsk";
|
|
|
|
key = "Meta+p";
|
|
|
|
command = "${extra.cpypsk}";
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
general = {
|
|
|
|
family = "SAX2 Nerd Font";
|
|
|
|
pointSize = 10;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-23 22:07:47 +02:00
|
|
|
powerdevil = {
|
|
|
|
AC.whenLaptopLidClosed = "hibernate";
|
|
|
|
battery.whenLaptopLidClosed = "hibernate";
|
|
|
|
lowBattery.whenLaptopLidClosed = "hibernate";
|
|
|
|
};
|
|
|
|
|
2024-06-25 12:11:51 +02:00
|
|
|
panels = [
|
|
|
|
{
|
|
|
|
location = "bottom";
|
|
|
|
floating = true;
|
|
|
|
height = 44;
|
|
|
|
widgets = [
|
|
|
|
{
|
|
|
|
name = "org.kde.plasma.kickoff";
|
|
|
|
config = {
|
|
|
|
General.icon = "nix-snowflake-white";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "org.kde.plasma.icontasks";
|
|
|
|
config = {
|
|
|
|
General.launchers = [
|
|
|
|
"applications:thunderbird.desktop"
|
2024-08-21 13:39:57 +02:00
|
|
|
"applications:org.wezfurlong.wezterm.desktop"
|
2024-06-25 12:11:51 +02:00
|
|
|
"applications:firefox.desktop"
|
|
|
|
"applications:discord.desktop"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
systemTray.items = {
|
|
|
|
shown = [
|
|
|
|
"org.kde.plasma.battery"
|
|
|
|
"org.kde.plasma.bluetooth"
|
|
|
|
"org.kde.plasma.networkmanagement"
|
|
|
|
"org.kde.plasma.volume"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
digitalClock = {
|
|
|
|
calendar.firstDayOfWeek = "monday";
|
|
|
|
time.format = "24h";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
window-rules = [
|
|
|
|
{
|
2024-08-21 13:39:57 +02:00
|
|
|
description = "wezterm";
|
2024-06-25 12:11:51 +02:00
|
|
|
match = {
|
|
|
|
window-class = {
|
2024-08-21 13:39:57 +02:00
|
|
|
value = "wezterm";
|
2024-06-25 12:11:51 +02:00
|
|
|
type = "substring";
|
|
|
|
};
|
|
|
|
window-types = [ "normal" ];
|
|
|
|
};
|
|
|
|
apply = {
|
|
|
|
noborder = {
|
|
|
|
value = true;
|
|
|
|
apply = "force";
|
|
|
|
};
|
|
|
|
maximizehoriz = true;
|
|
|
|
maximizevert = true;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2024-08-25 17:53:55 +02:00
|
|
|
|
2024-08-26 15:43:01 +02:00
|
|
|
configFile."kcminputrc" = {
|
2024-08-25 17:53:55 +02:00
|
|
|
"Mouse"."X11LibInputXAccelProfileFlat" = true;
|
|
|
|
"Mouse"."XLbInptPointerAcceleration" = 0;
|
|
|
|
};
|
2024-06-25 12:11:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = [
|
|
|
|
extra.rc2nix
|
|
|
|
];
|
|
|
|
}
|