Update plasma config

This commit is contained in:
Sicheng Pan 2025-06-28 13:48:44 -05:00
parent aac7a9723b
commit b453e7faba
Signed by: macronova
GPG key ID: CE969670FB4B4A56
2 changed files with 59 additions and 80 deletions

View file

@ -44,6 +44,7 @@ in {
alejandra
dua
fd
jjui
nil
rclone
sops
@ -72,27 +73,6 @@ in {
fzf.enable = true;
git = {
enable = true;
extraConfig = {
column.ui = "auto";
commit.verbose = true;
core.autocrlf = "input";
fetch = {
prune = true;
pruneTags = true;
all = true;
};
help.autocorrect = "prompt";
init.defaultBranch = "development";
pull.rebase = false;
push = {
autoSetupRemote = true;
default = "simple";
};
rebase = {
autoSquash = true;
autoStash = true;
};
};
ignores = [
".direnv"
".envrc"
@ -123,13 +103,15 @@ in {
jujutsu = {
enable = true;
settings = {
git.sign-on-push = true;
signing = {
behaviour = "own";
backend = "gpg";
};
ui = {
default-command = "status";
editor = "hx";
pager = "bat";
paginate = "never";
};
user = {
email = postMaster;
@ -189,24 +171,40 @@ in {
{
kickoff = {
icon = "nix-snowflake-white";
showButtonsFor = "power";
sortAlphabetically = true;
};
}
"org.kde.plasma.pager"
{
pager.general.navigationWrapsAround = true;
}
{
iconTasks.launchers = [];
}
"org.kde.plasma.marginsseparator"
"org.kde.plasma.systemtray"
"org.kde.plasma.digitalclock"
{
systemTray = {
icons.scaleToFit = false;
items.showAll = true;
};
}
{
digitalClock.timeZone.selected = ["Local"];
}
];
}
];
powerdevil.AC = {
autoSuspend.action = "nothing";
dimDisplay.enable = true;
powerButtonAction = "showLogoutScreen";
whenLaptopLidClosed = "turnOffScreen";
dimDisplay = {
enable = true;
idleTimeout = 600;
};
powerButtonAction = "sleep";
powerProfile = "performance";
turnOffDisplay = {
idleTimeout = 1200;
idleTimeoutWhenLocked = 60;
};
whenSleepingEnter = "standby";
};
spectacle.shortcuts.captureRectangularRegion = "Meta+Shift+S";