nwg-panel: add a few comments/TODOs to the config

This commit is contained in:
Colin 2024-06-15 21:56:41 +00:00
parent aaa40eae04
commit b7c71dc67b

View File

@ -10,6 +10,7 @@
[
{
name = "panel-top";
# TODO: display on all outputs? or at least ensure the primary output, on e.g. desko
output = "";
layer = "bottom";
position = "top";
@ -46,6 +47,8 @@
leave-closes = false;
click-closes = false;
css-name = "controls-window";
# window-width: should be 360 for moby, but because of weird `margin` tweaks in style.css
# we have to add 20px to both sides
window-width = 400;
custom-items = [];
menu = {
@ -53,6 +56,7 @@
icon = "system-shutdown-symbolic";
items = [
{
# TODO: plumb through the configured locker instead of assuming `swaylock`
name = "Lock";
cmd = "swaylock -f -c 000000";
}
@ -75,6 +79,7 @@
root-css-name = "tray";
inner-css-name = "inner-tray";
};
# TODO: sway-taskbar is unused?
sway-taskbar = {
workspace-menu = [
"1"
@ -123,7 +128,7 @@
on-scroll-up = "";
on-scroll-down = "";
css-name = "clock";
interval = 1;
interval = 1; #< TODO: safe to use a longer interval?
tooltip-date-format = true;
root-css-name = "root-clock";
angle = 0.0;