Skip to content

Commit

Permalink
Make 4 graph widths themable for issue ice-wm/icewm#178.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Feb 15, 2025
1 parent dd55178 commit e3c2b23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/default.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,15 +426,11 @@ cfoption icewm_preferences[] = {
OIV("PingTimeout", &pingTimeout, 0, (3600*24), "Timeout in seconds for applications to respond to _NET_WM_PING protocol"),
OIV("MailCheckDelay", &mailCheckDelay, 0, (3600*24), "Delay between new-mail checks in seconds"),
OIV("TaskBarCPUDelay", &taskBarCPUDelay, 10, (60*60*1000), "Delay between CPU Monitor samples in ms"),
OIV("TaskBarCPUSamples", &taskBarCPUSamples, 2, 1000, "The width of the CPU Monitor applet in pixels"),
OIV("TaskBarMEMSamples", &taskBarMEMSamples, 2, 1000, "The width of the Memory Monitor applet in pixels"),
OIV("TaskBarMEMDelay", &taskBarMEMDelay, 10, (60*60*1000), "Delay between Memory Monitor samples in ms"),
OIV("TaskBarNetSamples", &taskBarNetSamples, 2, 1000, "The width of the Net Monitor applet in pixels"),
OIV("TaskBarNetDelay", &taskBarNetDelay, 10, (60*60*1000), "Delay between Net Monitor samples in ms"),
OIV("TaskbarButtonWidthDivisor", &taskBarButtonWidthDivisor, 1, 50, "default number of tasks in taskbar"),
OIV("TaskBarWidthPercentage", &taskBarWidthPercentage, 0, 100, "Task bar width as percentage of the screen width"),
OSV("TaskBarJustify", &taskBarJustify, "Taskbar justify left, right or center"),
OIV("TaskBarApmGraphWidth", &taskBarApmGraphWidth, 1, 1000, "Width of battery Monitor"),

OIV("XineramaPrimaryScreen", &xineramaPrimaryScreen, 0, 63, "Primary screen for xinerama where taskbar is shown"),
OIV("FocusRequestFlashTime", &focusRequestFlashTime, 0, (3600 * 24), "Number of seconds the taskbar app will blink when requesting focus (0 = forever)"),
Expand Down
4 changes: 4 additions & 0 deletions src/themable.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ cfoption icewm_themable_preferences[] = {
OUV("TrayIconMaxWidth", &trayIconMaxWidth, 16, 128, "Maximum scaled width of tray icons"),
OUV("TrayIconMaxHeight", &trayIconMaxHeight, 16, 128, "Maximum scaled height of tray icons"),
OBV("TrayDrawBevel", &trayDrawBevel, "Surround the tray with plastic border"),
OIV("TaskBarApmGraphWidth", &taskBarApmGraphWidth, 1, 1000, "Width of battery Monitor"),
OIV("TaskBarCPUSamples", &taskBarCPUSamples, 2, 1000, "The width of the CPU Monitor applet in pixels"),
OIV("TaskBarMEMSamples", &taskBarMEMSamples, 2, 1000, "The width of the Memory Monitor applet in pixels"),
OIV("TaskBarNetSamples", &taskBarNetSamples, 2, 1000, "The width of the Net Monitor applet in pixels"),

OBV("TitleBarCentered", &titleBarCentered, "Draw window title centered (obsoleted by TitleBarJustify)"),
OBV("TitleBarJoinLeft", &titleBarJoinLeft, "Join title*S and title*T"),
Expand Down

0 comments on commit e3c2b23

Please sign in to comment.