fix a ton of stuff with the plasma config
This commit is contained in:
parent
6afac0e40a
commit
f4f53659bd
1 changed files with 79 additions and 52 deletions
|
@ -18,62 +18,89 @@
|
|||
"spectacle-screenshot" = {
|
||||
name = "Spectacle Screenshot";
|
||||
command = "/etc/nixos/scripts/py/spectacle-screenshot.py";
|
||||
comment =
|
||||
"Take a screenshot of a region on the screen and automatically upload it to Zipline";
|
||||
keys = [ "Print" "Meta+S" ];
|
||||
comment = "Take a screenshot of a region on the screen and automatically upload it to Zipline";
|
||||
keys = [
|
||||
"Print"
|
||||
"Meta+S"
|
||||
];
|
||||
};
|
||||
"spectacle-recording" = {
|
||||
name = "Spectacle Recording";
|
||||
command = "/etc/nixos/scripts/py/spectacle-screenshot.py --record";
|
||||
comment =
|
||||
"Record a region on the screen and automatically upload it to Zipline";
|
||||
keys = [ "Shift+Print" "Meta+Shift+S" ];
|
||||
comment = "Record a region on the screen and automatically upload it to Zipline";
|
||||
keys = [
|
||||
"Shift+Print"
|
||||
"Meta+Shift+S"
|
||||
];
|
||||
};
|
||||
};
|
||||
panels = [{
|
||||
location = "bottom";
|
||||
screen = "all";
|
||||
widgets = [
|
||||
{
|
||||
kickoff = {
|
||||
sortAlphabetically = true;
|
||||
icon = "nix-snowflake";
|
||||
panels = [
|
||||
{
|
||||
location = "bottom";
|
||||
screen = "all";
|
||||
widgets = [
|
||||
{
|
||||
kickoff = {
|
||||
sortAlphabetically = true;
|
||||
icon = "nix-snowflake";
|
||||
};
|
||||
}
|
||||
{
|
||||
iconTasks = {
|
||||
launchers = [
|
||||
"applications:zen.desktop"
|
||||
"applications:vesktop.desktop"
|
||||
"applications:steam.desktop"
|
||||
"applications:org.prismlauncher.PrismLauncher.desktop"
|
||||
"applications:code.desktop"
|
||||
"applications:org.kde.konsole.desktop"
|
||||
"applications:org.kde.dolphin.desktop"
|
||||
];
|
||||
};
|
||||
}
|
||||
"org.kde.plasma.marginsseperator"
|
||||
"org.kde.plasma.systemtray"
|
||||
"org.kde.plasma.colorpicker"
|
||||
{
|
||||
digitalClock = {
|
||||
calendar.firstDayOfWeek = "sunday";
|
||||
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 = [
|
||||
{
|
||||
description = "Application settings for Code";
|
||||
match = {
|
||||
window-class = {
|
||||
value = "code code-url-handler";
|
||||
type = "exact";
|
||||
};
|
||||
}
|
||||
{
|
||||
iconTasks = {
|
||||
launchers = [
|
||||
"applications:zen"
|
||||
"applications:vesktop"
|
||||
"applications:steam"
|
||||
"applications:org.prismlauncher.PrismLauncher"
|
||||
"applications:code"
|
||||
"applications:org.kde.konsole"
|
||||
"applications:org.kde.dolphin"
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
digitalClock = {
|
||||
calendar.firstDayOfWeek = "sunday";
|
||||
time.format = "12h";
|
||||
};
|
||||
}
|
||||
];
|
||||
}];
|
||||
window-rules = [{
|
||||
description = "Application settings for Code";
|
||||
match = {
|
||||
window-class = {
|
||||
value = "code code-url-handler";
|
||||
type = "exact";
|
||||
};
|
||||
};
|
||||
apply = {
|
||||
desktopfile =
|
||||
"/etc/profiles/per-user/cswimr/share/applications/code.desktop";
|
||||
};
|
||||
}];
|
||||
apply = {
|
||||
desktopfile = "/etc/profiles/per-user/cswimr/share/applications/code.desktop";
|
||||
};
|
||||
}
|
||||
];
|
||||
spectacle.shortcuts = {
|
||||
captureActiveWindow = [ ];
|
||||
captureCurrentMonitor = [ ];
|
||||
|
@ -83,10 +110,10 @@
|
|||
launch = [ ];
|
||||
};
|
||||
configFile = {
|
||||
# These three plugins have no higher level modules
|
||||
"kwinrc"."Plugins"."sheetEnabled" = true;
|
||||
"kwinrc"."Plugins"."wobblywindowsEnabled" = true;
|
||||
"kwinrc"."Plugins"."zoomEnabled" = false;
|
||||
kcminputrc.Keyboard.NumLock.value = 0;
|
||||
kwinrc.Plugins.sheetEnabled = true;
|
||||
kwinrc.Plugins.wobblywindowsEnabled = true;
|
||||
kwinrc.Plugins.zoomEnabled = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue