2024-06-19 15:06:09 +02:00
|
|
|
{ theme, ... }: {
|
2024-06-21 02:25:43 +02:00
|
|
|
|
|
|
|
programs.konsole = {
|
|
|
|
defaultProfile = "Default";
|
|
|
|
profiles.Default = {
|
|
|
|
name = "Default";
|
|
|
|
font = {
|
|
|
|
name = "Jetbrains Mono";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.plasma = {
|
2024-06-20 06:13:57 +02:00
|
|
|
enable = true;
|
|
|
|
overrideConfig = true;
|
2024-06-19 15:41:22 +02:00
|
|
|
configFile = {
|
2024-06-20 07:14:56 +02:00
|
|
|
kscreenlockerrc = {
|
|
|
|
# Set Lock Screen Wallpaper
|
|
|
|
"Greeter/Wallpaper/org.kde.image/General" = {
|
|
|
|
Image = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
|
|
|
PreviewImage = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
|
|
|
};
|
2024-06-20 14:56:04 +02:00
|
|
|
};
|
|
|
|
|
2024-06-21 03:50:33 +02:00
|
|
|
# Set the activity manager default activity to match the one for Tiling
|
|
|
|
kactivitymanagerdrc = {
|
|
|
|
activites.d67b1509-69a3-585f-adcc-1048a4265c4f = "Default";
|
|
|
|
main.currentActivity = "d67b1509-69a3-585f-adcc-1048a4265c4f";
|
|
|
|
};
|
2024-06-20 13:09:02 +02:00
|
|
|
|
2024-06-21 03:50:33 +02:00
|
|
|
kwinrc = {
|
|
|
|
# Tiling - Single Screen
|
|
|
|
Tiling.Padding = 10;
|
|
|
|
"Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f" = {
|
|
|
|
tiles = "{
|
|
|
|
\"layoutDirection\":\"horizontal\",
|
|
|
|
\"tiles\":[
|
|
|
|
{
|
|
|
|
\"layoutDirection\":\"vertical\",
|
|
|
|
\"tiles\":[
|
|
|
|
{
|
|
|
|
\"height\":0.5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
\"height\":0.5
|
|
|
|
}
|
|
|
|
],
|
|
|
|
\"width\":0.4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
\"width\":0.6
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}";
|
2024-06-20 12:54:01 +02:00
|
|
|
};
|
2024-06-20 13:09:02 +02:00
|
|
|
|
2024-06-20 12:26:40 +02:00
|
|
|
# Set window border size
|
|
|
|
"org.kde.kdecoration2" = {
|
|
|
|
BorderSize = "None";
|
|
|
|
BorderSizeAuto = false;
|
|
|
|
};
|
2024-06-20 14:56:04 +02:00
|
|
|
|
2024-06-20 07:14:56 +02:00
|
|
|
# Set NightLight coordinates
|
|
|
|
NightColor = {
|
|
|
|
Active = true;
|
|
|
|
Mode = "Location";
|
2024-06-20 14:56:04 +02:00
|
|
|
NightTemperature = 3500;
|
2024-06-20 07:14:56 +02:00
|
|
|
LatitudeFixed = 34.6583850931677;
|
|
|
|
LongitudeFixed = 138.0368098159509;
|
|
|
|
};
|
2024-06-20 14:56:04 +02:00
|
|
|
|
2024-06-20 07:14:56 +02:00
|
|
|
# Set Virtual Desktops
|
|
|
|
Desktops = {
|
2024-06-20 07:19:40 +02:00
|
|
|
Rows = 1;
|
2024-06-20 07:14:56 +02:00
|
|
|
Number = {
|
|
|
|
value = 4;
|
|
|
|
immutable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-19 15:41:22 +02:00
|
|
|
};
|
|
|
|
|
2024-06-19 15:06:09 +02:00
|
|
|
workspace = {
|
2024-06-19 15:41:22 +02:00
|
|
|
clickItemTo = "select";
|
2024-06-20 14:56:04 +02:00
|
|
|
iconTheme = "Papirus";
|
2024-06-20 06:17:09 +02:00
|
|
|
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
|
2024-06-19 15:06:09 +02:00
|
|
|
theme = "Arc-Dark";
|
|
|
|
colorScheme = "Arc";
|
2024-06-20 07:19:40 +02:00
|
|
|
cursor.theme = "Adwaita";
|
2024-06-20 07:14:56 +02:00
|
|
|
};
|
|
|
|
|
2024-06-19 15:06:09 +02:00
|
|
|
panels = [
|
|
|
|
{
|
|
|
|
location = "bottom";
|
2024-06-19 15:41:22 +02:00
|
|
|
floating = true;
|
2024-06-20 06:33:01 +02:00
|
|
|
height = 38;
|
2024-06-19 15:41:22 +02:00
|
|
|
|
2024-06-19 15:06:09 +02:00
|
|
|
widgets = [
|
|
|
|
{
|
2024-06-20 06:33:01 +02:00
|
|
|
name = "org.kde.plasma.kicker";
|
2024-06-19 15:06:09 +02:00
|
|
|
config = {
|
|
|
|
General.icon = "nix-snowflake-white";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "org.kde.plasma.icontasks";
|
|
|
|
config = {
|
|
|
|
General.launchers = [
|
|
|
|
"applications:org.kde.dolphin.desktop"
|
|
|
|
"applications:firefox.desktop"
|
|
|
|
"applications:bitwarden.desktop"
|
|
|
|
"applications:org.kde.konsole.desktop"
|
|
|
|
"applications:steam.desktop"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
"org.kde.plasma.marginsseparator"
|
2024-06-19 15:25:59 +02:00
|
|
|
"org.kde.plasma.pager"
|
2024-06-19 15:06:09 +02:00
|
|
|
{
|
2024-06-19 16:18:23 +02:00
|
|
|
systemTray = {
|
|
|
|
icons.spacing = "small";
|
2024-06-19 15:06:09 +02:00
|
|
|
items = {
|
|
|
|
shown = [
|
|
|
|
"org.kde.plasma.volume"
|
|
|
|
"org.kde.plasma.networkmanagement"
|
|
|
|
];
|
|
|
|
hidden = [
|
|
|
|
"org.kde.plasma.bluetooth"
|
|
|
|
"org.kde.plasma.mediaplayer"
|
|
|
|
"org.kde.plasma.manage-inputmethod"
|
|
|
|
"org.kde.plasma.keyboardindicator"
|
|
|
|
"org.kde.plasma.keyboardlayout"
|
|
|
|
"org.kde.plasma.cameraindicator"
|
2024-06-19 16:09:35 +02:00
|
|
|
"org.kde.plasma.brightness"
|
2024-06-19 16:11:12 +02:00
|
|
|
"org.kde.plasma.nightlight"
|
2024-06-20 06:33:01 +02:00
|
|
|
"org.kde.plasma.clipboard"
|
2024-06-19 15:06:09 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
digitalClock = {
|
|
|
|
calendar.firstDayOfWeek = "sunday";
|
|
|
|
time = {
|
|
|
|
format = "24h";
|
|
|
|
showSeconds = "never";
|
|
|
|
};
|
2024-06-19 15:41:22 +02:00
|
|
|
date.enable = false;
|
2024-06-19 15:06:09 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
fonts = {
|
|
|
|
general = {
|
|
|
|
family = "JetBrains Mono";
|
|
|
|
pointSize = 12;
|
|
|
|
};
|
2024-01-01 06:42:36 +01:00
|
|
|
};
|
|
|
|
};
|
2024-01-02 09:46:23 +01:00
|
|
|
}
|