mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
more tweaks
This commit is contained in:
parent
0203ab4a15
commit
bed547d231
17
inxi
17
inxi
|
@ -842,6 +842,11 @@ select_default_color_scheme()
|
||||||
eval $LOGFS
|
eval $LOGFS
|
||||||
local spacer=' ' options='' user_selection='' config_variable=''
|
local spacer=' ' options='' user_selection='' config_variable=''
|
||||||
local config_file="$HOME/.$SCRIPT_NAME/$SCRIPT_NAME.conf"
|
local config_file="$HOME/.$SCRIPT_NAME/$SCRIPT_NAME.conf"
|
||||||
|
local irc_clear="[0m"
|
||||||
|
|
||||||
|
if [[ $B_RUNNING_IN_SHELL != 'true' ]];then
|
||||||
|
irc_clear=''
|
||||||
|
fi
|
||||||
# first make output neutral so it's just plain default for console client
|
# first make output neutral so it's just plain default for console client
|
||||||
set_color_scheme "0"
|
set_color_scheme "0"
|
||||||
print_screen_output "Welcome to $SCRIPT_NAME! Please select the default $COLOR_SELECTION color scheme."
|
print_screen_output "Welcome to $SCRIPT_NAME! Please select the default $COLOR_SELECTION color scheme."
|
||||||
|
@ -858,16 +863,16 @@ select_default_color_scheme()
|
||||||
spacer=' '
|
spacer=' '
|
||||||
fi
|
fi
|
||||||
set_color_scheme $i
|
set_color_scheme $i
|
||||||
print_screen_output "[0m $i)$spacer${C1}Card:${C2} nVidia G86 [GeForce 8400 GS] ${C1}X.Org${C2} 1.7.7"
|
print_screen_output "$irc_clear $i)$spacer${C1}Card:${C2} nVidia G86 [GeForce 8400 GS] ${C1}X.Org${C2} 1.7.7"
|
||||||
done
|
done
|
||||||
set_color_scheme 0
|
set_color_scheme 0
|
||||||
echo -n "[0m"
|
|
||||||
|
|
||||||
if [[ $B_RUNNING_IN_SHELL == 'true' ]];then
|
if [[ $B_RUNNING_IN_SHELL == 'true' ]];then
|
||||||
print_screen_output "[0m $i)$spacer Remove all color settings. Restore $SCRIPT_NAME default."
|
echo -n "[0m"
|
||||||
print_screen_output "[0m $(($i+1)))$spacer Continue, no changes or config file setting."
|
print_screen_output "$irc_clear $i)$spacer Remove all color settings. Restore $SCRIPT_NAME default."
|
||||||
print_screen_output "[0m $(($i+2)))$spacer Exit, use another terminal, or set manually."
|
print_screen_output "$irc_clear $(($i+1)))$spacer Continue, no changes or config file setting."
|
||||||
print_screen_output "------------------------------------------------------------------------------"
|
print_screen_output "$irc_clear $(($i+2)))$spacer Exit, use another terminal, or set manually."
|
||||||
|
print_screen_output "------------------------------------------------------------------------------"
|
||||||
print_screen_output "Simply type the number for the color scheme that looks best to your eyes for your $COLOR_SELECTION settings"
|
print_screen_output "Simply type the number for the color scheme that looks best to your eyes for your $COLOR_SELECTION settings"
|
||||||
print_screen_output "and hit ENTER. NOTE: You can bring this option list up by starting $SCRIPT_NAME with option: -c plus one of these numbers:"
|
print_screen_output "and hit ENTER. NOTE: You can bring this option list up by starting $SCRIPT_NAME with option: -c plus one of these numbers:"
|
||||||
print_screen_output "94 (console, no X); 95 (terminal, X); 96 (irc, X); 97 (irc, X, in terminal); 98 (irc, no X); 99 (global)."
|
print_screen_output "94 (console, no X); 95 (terminal, X); 96 (irc, X); 97 (irc, X, in terminal); 98 (irc, no X); 99 (global)."
|
||||||
|
|
Loading…
Reference in a new issue