amanusk / s-tui

Terminal-based CPU stress and monitoring utility
https://amanusk.github.io/s-tui/
GNU General Public License v2.0
4.06k stars 140 forks source link

Visual cleanup #77

Closed amanusk closed 6 years ago

amanusk commented 6 years ago

Some visual clean up of the menu side bar to better accommodate the added stress timer.

GM-Script-Writer-62850 commented 6 years ago

Might be a good idea to move the save settings feature to avoid hitting quit by mistake

s_tui.py
@@ -428,6 +428,7 @@
                                           self.on_stress_menu_open))
         control_options.append(button('Temp Sensors',
                                       self.on_temp_sensors_menu_open))
+   control_options.append(button('Save Settings', self.save_settings))
         control_options.append(button('Help', self.on_help_menu_open))
         control_options.append(button('About', self.on_about_menu_open))

@@ -478,7 +479,6 @@
             self.refresh_rate_ctrl,
             urwid.LineBox(urwid.Pile(graph_checkboxes)),
             urwid.LineBox(unicode_checkbox),
-            button("Save Settings", self.save_settings),
             button("Quit", self.exit_program),
         ]

Probably also worth putting "Smooth Graphs" into the same section as Frequency, Utilization, Temperature, and Power