fix a ton of stuff with the plasma config

This commit is contained in:
Seaswimmer 2024-12-02 19:56:15 -05:00
parent 6afac0e40a
commit f4f53659bd
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -18,19 +18,24 @@
"spectacle-screenshot" = { "spectacle-screenshot" = {
name = "Spectacle Screenshot"; name = "Spectacle Screenshot";
command = "/etc/nixos/scripts/py/spectacle-screenshot.py"; command = "/etc/nixos/scripts/py/spectacle-screenshot.py";
comment = comment = "Take a screenshot of a region on the screen and automatically upload it to Zipline";
"Take a screenshot of a region on the screen and automatically upload it to Zipline"; keys = [
keys = [ "Print" "Meta+S" ]; "Print"
"Meta+S"
];
}; };
"spectacle-recording" = { "spectacle-recording" = {
name = "Spectacle Recording"; name = "Spectacle Recording";
command = "/etc/nixos/scripts/py/spectacle-screenshot.py --record"; command = "/etc/nixos/scripts/py/spectacle-screenshot.py --record";
comment = comment = "Record a region on the screen and automatically upload it to Zipline";
"Record a region on the screen and automatically upload it to Zipline"; keys = [
keys = [ "Shift+Print" "Meta+Shift+S" ]; "Shift+Print"
"Meta+Shift+S"
];
}; };
}; };
panels = [{ panels = [
{
location = "bottom"; location = "bottom";
screen = "all"; screen = "all";
widgets = [ widgets = [
@ -43,25 +48,47 @@
{ {
iconTasks = { iconTasks = {
launchers = [ launchers = [
"applications:zen" "applications:zen.desktop"
"applications:vesktop" "applications:vesktop.desktop"
"applications:steam" "applications:steam.desktop"
"applications:org.prismlauncher.PrismLauncher" "applications:org.prismlauncher.PrismLauncher.desktop"
"applications:code" "applications:code.desktop"
"applications:org.kde.konsole" "applications:org.kde.konsole.desktop"
"applications:org.kde.dolphin" "applications:org.kde.dolphin.desktop"
]; ];
}; };
} }
"org.kde.plasma.marginsseperator"
"org.kde.plasma.systemtray"
"org.kde.plasma.colorpicker"
{ {
digitalClock = { digitalClock = {
calendar.firstDayOfWeek = "sunday"; calendar.firstDayOfWeek = "sunday";
time.format = "12h"; date.format.custom = "dddd, MMMM d | M/d/yyyy";
time = {
format = "12h";
showSeconds = "always";
};
timeZone = {
format = "offset";
alwaysShow = true;
};
font = null;
# {
# family = "Noto Sans";
# style = "Medium";
# weight = 100;
# size = 18;
# };
}; };
} }
#FIXME - I can't figure out what this id is supposed to be 😭
#"org.kde.plasma.peekatdesktop"
]; ];
}]; }
window-rules = [{ ];
window-rules = [
{
description = "Application settings for Code"; description = "Application settings for Code";
match = { match = {
window-class = { window-class = {
@ -70,10 +97,10 @@
}; };
}; };
apply = { apply = {
desktopfile = desktopfile = "/etc/profiles/per-user/cswimr/share/applications/code.desktop";
"/etc/profiles/per-user/cswimr/share/applications/code.desktop";
}; };
}]; }
];
spectacle.shortcuts = { spectacle.shortcuts = {
captureActiveWindow = [ ]; captureActiveWindow = [ ];
captureCurrentMonitor = [ ]; captureCurrentMonitor = [ ];
@ -83,10 +110,10 @@
launch = [ ]; launch = [ ];
}; };
configFile = { configFile = {
# These three plugins have no higher level modules kcminputrc.Keyboard.NumLock.value = 0;
"kwinrc"."Plugins"."sheetEnabled" = true; kwinrc.Plugins.sheetEnabled = true;
"kwinrc"."Plugins"."wobblywindowsEnabled" = true; kwinrc.Plugins.wobblywindowsEnabled = true;
"kwinrc"."Plugins"."zoomEnabled" = false; kwinrc.Plugins.zoomEnabled = false;
}; };
}; };
} }