Skip to content

Commit

Permalink
Merge branch 'issue3113' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Mar 2, 2025
2 parents c70eb85 + 079f926 commit df3d96b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions conf/glances.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ history_size=1200
#left_menu=network,wifi,connections,ports,diskio,fs,irq,folders,raid,smart,sensors,now
# Limit the number of processes to display (in the WebUI)
#max_processes_display=25
# Options for WebUI
#------------------
#
# Specifics options for TUI
#--------------------------
# Disable background color
#disable_bg=True
#
# Specifics options for WebUI
#----------------------------
# Set URL prefix for the WebUI and the API
# Example: url_prefix=/glances/ => http://localhost/glances/
# Note: The final / is mandatory
Expand Down
2 changes: 2 additions & 0 deletions glances/outputs/glances_curses.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def load_config(self, config):
)
# Set the left sidebar list
self._left_sidebar = config.get_list_value('outputs', 'left_menu', default=self._left_sidebar)
# Background color
self.args.disable_bg = config.get_bool_value('outputs', 'disable_bg', default=self.args.disable_bg)

def _right_sidebar(self):
return [
Expand Down

0 comments on commit df3d96b

Please sign in to comment.