mirror of https://github.com/nicolargo/glances
Swith from black <> white theme with the '9' hotkey - Related to issue #976
parent
2bf80fa44a
commit
74b820ebf1
925
docs/api.rst
925
docs/api.rst
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
.\" Man page generated from reStructuredText.
|
||||
.
|
||||
.TH "GLANCES" "1" "Aug 21, 2021" "3.2.4_beta03" "Glances"
|
||||
.TH "GLANCES" "1" "Nov 11, 2021" "3.2.4_beta03" "Glances"
|
||||
.SH NAME
|
||||
glances \- An eye on your system
|
||||
.
|
||||
|
|
|
@ -59,6 +59,7 @@ class _GlancesCurses(object):
|
|||
# '4' > Enable or disable quicklook
|
||||
# '5' > Enable or disable top menu
|
||||
'6': {'switch': 'meangpu'},
|
||||
'9': {'switch': 'theme_white'},
|
||||
'/': {'switch': 'process_short_name'},
|
||||
'a': {'sort_key': 'auto'},
|
||||
'A': {'switch': 'disable_amps'},
|
||||
|
@ -396,6 +397,9 @@ class _GlancesCurses(object):
|
|||
self.disable_top()
|
||||
else:
|
||||
self.enable_top()
|
||||
elif self.pressedkey == ord('9'):
|
||||
# '9' > Theme from black to white and reverse
|
||||
self._init_colors()
|
||||
elif self.pressedkey == ord('e'):
|
||||
# 'e' > Enable/Disable process extended
|
||||
self.args.enable_process_extended = not self.args.enable_process_extended
|
||||
|
|
Loading…
Reference in New Issue